Problem sixandseven
User shaekpie
Submission Time 2026-06-26 13:21:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:6:5: error: ‘str’ was not declared in this scope; did you mean ‘std’?
6 | str X; cin >> X;
| ^~~
| std
sixandseven.cpp:6:19: error: ‘X’ was not declared in this scope
6 | str X; cin >> X;
| ^
sixandseven.cpp:16:9: error: expected ‘;’ before ‘}’ token
16 | break
| ^
| ;
17 | }
| ~
sixandseven.cpp:23:2: error: expected ‘}’ at end of input
23 | }
| ^
sixandseven.cpp:5:17: note: to match this ‘{’
5 | unsigned main() {
| ^