Borderou de evaluare (job #2382048)

Utilizator antoniu200Alexa Sergiu antoniu200 Data 17 martie 2019 17:19:45
Problema Deminare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 4

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d", &requirement); ^ main.cpp:15:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d%d", &lin, &col); ^ main.cpp:15:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:16:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d", &numOf); ^ main.cpp:19:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d%d", &l, &c); ^ main.cpp:19:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:65:59: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] if (compZone) printf("%d", (numOf - minNumOfMoves)); ^ main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("deminare.in", "r", stdin); ^ main.cpp:12:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("deminare.out", "w", stdout); ^ main.cpp:14:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &requirement); ^ main.cpp:15:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &lin, &col); ^ main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &numOf); ^ main.cpp:19:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &l, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbFisier de iesire incomplet0
22ms131kbFisier de iesire incomplet0
32ms131kbFisier de iesire incomplet0
44ms131kbFisier de iesire incomplet0
525ms262kbFisier de iesire incomplet0
659ms393kbFisier de iesire incomplet0
73ms262kbRaspuns gresit0
82ms131kbOkay!4
92ms131kbRaspuns gresit0
102ms131kbRaspuns gresit0
1110ms262kbRaspuns gresit0
1233ms262kbRaspuns gresit0
1342ms262kbRaspuns gresit0
1451ms393kbRaspuns gresit0
1559ms393kbRaspuns gresit0
1626ms262kbRaspuns gresit0
1744ms393kbRaspuns gresit0
1819ms262kbRaspuns gresit0
194ms131kbRaspuns gresit0
2045ms262kbRaspuns gresit0
2125ms393kbRaspuns gresit0
22100ms393kbRaspuns gresit0
2358ms393kbRaspuns gresit0
Punctaj total4

Ceva nu functioneaza?