Borderou de evaluare (job #2491893)

Utilizator am.001Agricimihai am.001 Data 13 noiembrie 2019 14:16:01
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:35: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] fscanf( fin, "%ld%ld", &n, &m ); ^ main.cpp:20:35: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=] main.cpp:24:37: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] fscanf( fin, "%ld", &a[i] ); ^ main.cpp:20:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%ld%ld", &n, &m ); ^ main.cpp:24:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%ld", &a[i] ); ^ main.cpp:32:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d%d", &k, &s, &f ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1130ms839kbCorect!20
2152ms786kbTime limit exceeded0
3152ms790kbTime limit exceeded0
4136ms786kbCorect!20
5154ms782kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?