Borderou de evaluare (job #2491884)

Utilizator am.001Agricimihai am.001 Data 13 noiembrie 2019 13:56:30
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

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
1119ms786kbCorect!20
2129ms786kbCorect!20
3153ms868kbTime limit exceeded0
4152ms790kbTime limit exceeded0
5147ms786kbCorect!20
Punctaj total60

Ceva nu functioneaza?