0_0_33841168_6658.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_33841168_6658.cpp: In function 'int main()':
0_0_33841168_6658.cpp:10:2: error: 'cin' was not declared in this scope
cin >> t;
^
0_0_33841168_6658.cpp:19:3: error: 'map' was not declared in this scope
map<string, int>mp;
^
0_0_33841168_6658.cpp:19:7: error: 'string' was not declared in this scope
map<string, int>mp;
^
0_0_33841168_6658.cpp:19:15: error: expected primary-expression before 'int'
map<string, int>mp;
^
0_0_33841168_6658.cpp:23:11: error: expected ';' before 'tp'
string tp;
^
0_0_33841168_6658.cpp:24:11: error: 'tp' was not declared in this scope
cin >> tp;
^
0_0_33841168_6658.cpp:25:8: error: 'mp' was not declared in this scope
if (mp.count(tp)) a[i] = mp[tp];
^
0_0_33841168_6658.cpp:41:23: error: 'printf' was not declared in this scope
printf("%lld\n", ans);
^
|