Borderou de evaluare (job #2347706)

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

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
12ms131kbRaspuns corect!10
22ms131kbRaspuns corect!10
32ms131kbRaspuns corect!10
43ms524kbRaspuns corect!10
54ms655kbRaspuns corect!10
67ms1179kbRaspuns corect!10
712ms2228kbRaspuns corect!10
812ms1966kbRaspuns corect!10
913ms2228kbRaspuns corect!10
1011ms1835kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?