0_0_33841167_32121.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_33841167_32121.cpp: In function 'int main()':
0_0_33841167_32121.cpp:9:2: error: 'ios' has not been declared
ios::sync_with_stdio(false);
^
0_0_33841167_32121.cpp:10:2: error: 'cin' was not declared in this scope
cin.tie(nullptr); cout.tie(nullptr);
^
0_0_33841167_32121.cpp:10:20: error: 'cout' was not declared in this scope
cin.tie(nullptr); cout.tie(nullptr);
^
0_0_33841167_32121.cpp:21:3: error: 'map' was not declared in this scope
map<string, int>mp;
^
0_0_33841167_32121.cpp:21:7: error: 'string' was not declared in this scope
map<string, int>mp;
^
0_0_33841167_32121.cpp:21:15: error: expected primary-expression before 'int'
map<string, int>mp;
^
0_0_33841167_32121.cpp:25:11: error: expected ';' before 'tp'
string tp;
^
0_0_33841167_32121.cpp:26:11: error: 'tp' was not declared in this scope
cin >> tp;
^
0_0_33841167_32121.cpp:27:8: error: 'mp' was not declared in this scope
if (mp.count(tp)) a[i] = mp[tp];
^
0_0_33841167_32121.cpp:43:23: error: 'printf' was not declared in this scope
printf("%lld\n", ans);
^
|