Borderou de evaluare (job #803299)

Utilizator avatar www_www Veveriță Tudor www_www IP ascuns
Problemă Cmmdc (clasa a 6-a) Compilator c-32
Rundă lasm_09_01_2025_clasa10 Status evaluat
Dată 9 ian. 2025 16:15:40 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:18:30: error: expected expression before '%' token 18 | fscanf(in, "%d\n%d", &T, %n); | ^ main.c:24:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 24 | for (int i = 1; i < n; i++) | ^~~ main.c:26:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 26 | s[n-1] = a[n-1]; | ^ main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(in, "%lld", &a[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~