Borderou de evaluare (job #2759447)

Utilizator cezarinfoTulceanu Cezar cezarinfo Data 17 iunie 2021 19:39:51
Problema Atlas Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:43:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&t); ^ main.cpp:46:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&n); ^ main.cpp:49:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&v[i]); ^ main.cpp:53:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in,"%d",&q); ^ main.cpp:43:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&t); ^ main.cpp:46:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ main.cpp:49:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&v[i]); ^ main.cpp:53:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&q); ^ main.cpp:56:41: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&qe[i].val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
128ms655kbOK10
236ms655kbOK10
3675ms10747kbOK10
4716ms10616kbOK10
5676ms10616kbOK10
6712ms10616kbOK10
7603ms10878kbOK10
8586ms10616kbOK10
9581ms10616kbOK10
10580ms10616kbOK10
Punctaj total100

Ceva nu functioneaza?