| Problem | sumint | 
|---|---|
| User | Law | 
| Submission Time | 2024-06-20 09:47:36 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 sumint.cpp: In function ‘int main()’:
sumint.cpp:5:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    5 |  int arr[n]
      |          ^
      |          yn
sumint.cpp:6:3: error: expected initializer before ‘for’
    6 |   for(int i=0; i=n; i++) {
      |   ^~~
sumint.cpp:6:16: error: ‘i’ was not declared in this scope
    6 |   for(int i=0; i=n; i++) {
      |                ^
sumint.cpp:13:6: error: ‘arr’ was not declared in this scope
   13 |   x+=arr[i]
      |      ^~~
sumint.cpp:15:10: error: expected ‘}’ at end of input
   15 |  return 0;
      |          ^
sumint.cpp:4:12: note: to match this ‘{’
    4 | int main() {
      |            ^