Borderou de evaluare (job #2580121)

Utilizator CatiCatiDervesteanu Marian Catalin CatiCati Data 13 martie 2020 12:36:48
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void read()': main.cpp:16:27: warning: format '%hi' expects argument of type 'short int*', but argument 2 has type 'char*' [-Wformat=] scanf("%hi", &a[i]); ^ main.cpp:19:27: warning: format '%hi' expects argument of type 'short int*', but argument 2 has type 'char*' [-Wformat=] scanf("%hi", &b[i]); ^ main.cpp: In function 'int main()': main.cpp:23:36: 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:24:34: 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: In function 'void read()': main.cpp:13:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hi %hi",&n, &m); ^ main.cpp:16:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hi", &a[i]); ^ main.cpp:19:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hi", &b[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
913ms2228kbSubsir incorect!0
1011ms1835kbSubsir incorect!0
Punctaj total80

Ceva nu functioneaza?