Problem | modsum |
---|---|
User | samantha32072 |
Submission Time | 2023-02-16 20:39:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
modsum.cpp:2:1: error: ‘cin’ does not name a type
2 | cin >> n;
| ^~~
modsum.cpp:4:1: error: expected unqualified-id before ‘for’
4 | for(i=1,i<=n,i++){
| ^~~
modsum.cpp:9:1: error: ‘pow4’ does not name a type
9 | pow4 = pow(total,4);
| ^~~~
modsum.cpp:10:1: error: ‘pow2’ does not name a type
10 | pow2 = pow(total,2);
| ^~~~
modsum.cpp:11:1: error: ‘cout’ does not name a type
11 | cout << pow4+2*pow2%5+1;
| ^~~~