Problem contestcalc
User Joashhh
Submission Time 2023-09-09 13:43:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:18:12: error: expected primary-expression before ‘;’ token
18 | for(int i=; i<amt; i++){
| ^
contestcalc.cpp:22:18: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘second’
22 | sum += target.second;
| ^~~~~~