Problem crypto
User Tyx2019
Submission Time 2023-06-05 12:01:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

crypto.cpp:3:1: error: ‘unordered_map’ does not name a type
3 | unordered_map<int, int> M;
| ^~~~~~~~~~~~~
crypto.cpp: In function ‘int main()’:
crypto.cpp:26:3: error: ‘M’ was not declared in this scope
26 | M[A[i]]=i+1;
| ^
crypto.cpp:37:9: error: ‘M’ was not declared in this scope
37 | ans+=(M[P[i]]-1-qry(M[P[i]]))*fac[i];
| ^