Problem hackingscores
User kesleryak
Submission Time 2024-06-23 19:26:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hackingscores.cpp: In function ‘void solve()’:
hackingscores.cpp:2:2: error: ‘cin’ was not declared in this scope
2 | cin >> n >> t >> g >> k;
| ^~~
hackingscores.cpp:2:9: error: ‘n’ was not declared in this scope
2 | cin >> n >> t >> g >> k;
| ^
hackingscores.cpp:2:14: error: ‘t’ was not declared in this scope
2 | cin >> n >> t >> g >> k;
| ^
hackingscores.cpp:2:19: error: ‘g’ was not declared in this scope
2 | cin >> n >> t >> g >> k;
| ^
hackingscores.cpp:2:24: error: ‘k’ was not declared in this scope
2 | cin >> n >> t >> g >> k;
| ^
hackingscores.cpp:3:37: error: ‘A’ was not declared in this scope
3 | for(int i = 1; i <= n; i++) cin >> A[i];
|