Problem sumint
User miy
Submission Time 2023-08-05 14:33:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:15:13: error: missing template arguments before ‘[’ token
15 | cin >> list[]
| ^
sumint.cpp:15:14: error: expected primary-expression before ‘]’ token
15 | cin >> list[]
| ^
sumint.cpp:17:18: error: ‘i’ was not declared in this scope
17 | for (int i = 0; i < d; i++) {
| ^
sumint.cpp:17:22: error: ‘d’ was not declared in this scope
17 | for (int i = 0; i < d; i++) {
| ^