Borderou de evaluare (job #2542343)

Utilizator Ilie_MityIlie Dumitru Ilie_Mity Data 9 februarie 2020 20:23:53
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:18:30: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] fscanf(f, "%i", &A[i]); ^ main.cpp:20:30: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] fscanf(f, "%i", &B[j]); ^ main.cpp:16:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i%i", &N, &M); ^ main.cpp:18:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i", &A[i]); ^ main.cpp:20:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i", &B[j]); ^
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?