Problem contestcalc
User Ene
Submission Time 2026-11-18 11:25:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:10:13: error: conflicting declaration ‘auto b’
10 | map[b]=c;
| ^
contestcalc.cpp:8:16: note: previous declaration as ‘std::string b’
8 | string b; int c;
| ^
contestcalc.cpp:15:15: error: missing template arguments before ‘[’ token
15 | t+=map[c];
| ^