Problem contestcalc
User Allysatan
Submission Time 2025-05-24 11:16:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

contestcalc.cpp:13:5: error: stray ‘\302’ in program
13 | cin » n;
| ^
contestcalc.cpp:13:6: error: stray ‘\273’ in program
13 | cin » n;
| ^
contestcalc.cpp: In function ‘int32_t main()’:
contestcalc.cpp:13:4: error: expected ‘;’ before ‘n’
13 | cin » n;
| ^ ~
| ;
contestcalc.cpp:18:5: error: no match for ‘operator>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
18 | cin > name > score;
| ~~~ ^ ~~~~
| | |
| | std::string {aka std::__cxx11::basic_string<char>}
| std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from contestcalc.cpp:1:
/usr/include/c++/9/bits/regex.h:1081:5: note: candidate: ‘tem