Problem numbergame
User Arjunironman8
Submission Time 2026-06-25 16:33:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

numbergame.cpp: In function ‘int main()’:
numbergame.cpp:27:17: error: expected primary-expression before ‘=’ token
27 | int closestnum;= 100
| ^
numbergame.cpp:29:20: error: ‘i’ was not declared in this scope
29 | for (int i = 0; i < t; i++){
| ^
numbergame.cpp:39:4: error: expected ‘}’ at end of input
39 | }
| ^
numbergame.cpp:10:15: note: to match this ‘{’
10 | signed main() {
| ^