Problem | sumint |
---|---|
User | luoxindi09 |
Submission Time | 2023-09-03 20:39:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int32_t main()’:
sumint.cpp:10:50: error: ‘i’ was not declared in this scope
10 | for (int i=0; i<d; i++) cin >> a[i]; total += a[i];
| ^