Problem | finalday |
---|---|
User | Pranav |
Submission Time | 2024-12-09 11:48:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
finalday.cpp: In function ‘int main()’:
finalday.cpp:17:19: error: ‘ni’ was not declared in this scope; did you mean ‘i’?
17 | for (int i =0;i<ni++){
| ^~
| i
finalday.cpp:17:23: error: expected ‘;’ before ‘)’ token
17 | for (int i =0;i<ni++){
| ^
| ;
finalday.cpp:23:21: error: ‘max’ cannot be used as a function
23 | int max = max(sums)
| ^