Borderou de evaluare (job #2352597)

Utilizator LittleWhoFeraru Mihail LittleWho Data 23 februarie 2019 14:19:06
Problema Interclasare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:59:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d", &A[i]); ^ main.cpp:63:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d", &B[i]); ^ main.cpp:54:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("interclasare.in", "r", stdin); ^ main.cpp:55:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("interclasare.out", "w", stdout); ^ main.cpp:57:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:59:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[i]); ^ main.cpp:61:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:63:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbLungime incorecta!0
24ms131kbLungime incorecta!0
34ms131kbLungime incorecta!0
45ms131kbLungime incorecta!0
56ms131kbLungime incorecta!0
67ms131kbLungime incorecta!0
78ms131kbLungime incorecta!0
88ms131kbLungime incorecta!0
99ms131kbLungime incorecta!0
1010ms131kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?