Borderou de evaluare (job #2551205)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 19 februarie 2020 17:39:04
Problema Leduri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] fscanf(in, "%d", start + i) ; ^ main.cpp:31:57: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] for (i = 1 ; i <= n ; ++ i) { fscanf(in, "%d", fin + i) ; } ^ main.cpp:26:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n) ; ^ main.cpp:28:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", start + i) ; ^ main.cpp:31:59: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (i = 1 ; i <= n ; ++ i) { fscanf(in, "%d", fin + i) ; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbIncorect0
32ms131kbOK10
42ms131kbIncorect0
52ms131kbIncorect0
66ms131kbIncorect0
75ms131kbOK10
87ms131kbOK10
95ms131kbOK10
1053ms393kbIncorect0
Punctaj total50

Ceva nu functioneaza?