Borderou de evaluare (job #2518146)

Utilizator darkeagleDaniel Popescu darkeagle Data 5 ianuarie 2020 00:51:27
Problema Ab2 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:32:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=a-1;i++) ^~~ main.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' v[a]=n; ^ main.cpp:38:1: error: 'else' without a previous 'if' else ^~~~ main.cpp:15:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d",&n,&a,&b); ^ Non zero exit status: 1

Ceva nu functioneaza?