Borderou de evaluare (job #656740)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Puteri2 (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 aug. 2022 12:01:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
12 | for(int i=0;i<n*2;i++)
| ^~~
main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
14 | for(int i=0;i<n;i++)
| ^~~
main.cpp:16:19: error: 'k' was not declared in this scope
16 | while(k[i+n]>0)
| ^
main.cpp:9:11: warning: unused variable 'a' [-Wunused-variable]
9 | int n,a,b,suma=0,suma2=1;
| ^
main.cpp:9:13: warning: unused variable 'b' [-Wunused-variable]
9 | int n,a,b,suma=0,suma2=1;
| ^