Borderou de evaluare (job #3349930)

Utilizator TomMMMMatei Toma TomMMM Data 3 aprilie 2026 17:04:53
Problema Joc5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:15:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 15 | for(int j = 1; j <= n; j++) | ^~~ main.cpp:17:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17 | if(i == j) s ^= x; | ^~ main.cpp:17:25: error: 'j' was not declared in this scope 17 | if(i == j) s ^= x; | ^ main.cpp:9:9: warning: unused variable 't' [-Wunused-variable] 9 | int t, n, x, s; | ^ Non zero exit status: 1

Ceva nu functioneaza?