0_0_34996289_24288.cpp: In function 'int main()':
0_0_34996289_24288.cpp:16:10: error: 'k' was not declared in this scope
cin>>k;
^
0_0_34996289_24288.cpp:22:14: error: 'n' was not declared in this scope
cin>>n;
^
0_0_34996289_24288.cpp:23:29: error: expected ';' before ')' token
memset(cas,cas+n;cmp);
^
0_0_34996289_24288.cpp:24:13: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_34996289_24288.cpp:29:27: error: expected ';' before ')' token
sort(cas,cas+n;cmp);
^
0_0_34996289_24288.cpp:30:13: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_34996289_24288.cpp:34:31: error: 'sun' was not declared in this scope
mp[cas[i].name]++,sun+=val;
^
0_0_34996289_24288.cpp:34:36: error: 'val' was not declared in this scope
mp[cas[i].name]++,sun+=val;
^
|