Borderou de evaluare (job #2347701)

Utilizator ker.alexKerezsi Alex ker.alex Data 19 februarie 2019 00:05:21
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=] scanf("%d", &X[i]); ^ main.cpp:22:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=] scanf("%d", &Y[i]); ^ main.cpp:15:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in", "r", stdin); ^ main.cpp:16:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out", "w", stdout); ^ main.cpp:18:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:20:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &X[i]); ^ main.cpp:22:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Y[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbLungime incorecta!0
22ms131kbLungime incorecta!0
32ms131kbLungime incorecta!0
44ms524kbLungime incorecta!0
54ms655kbLungime incorecta!0
69ms1179kbLungime incorecta!0
714ms2228kbLungime incorecta!0
816ms2097kbLungime incorecta!0
914ms2228kbLungime incorecta!0
1012ms1835kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?