Borderou de evaluare (job #1846933)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 14 ianuarie 2017 10:15:35
Problema Rk Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d %d",&R,&K); ^ user.cpp:30:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:14:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^ user.cpp:17:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&val); ^ user.cpp:27:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&Q); ^ user.cpp:30:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&R,&K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms272kbOK10
328ms420kbOK10
4188ms972kbOK10
5360ms1824kbOK10
636ms416kbOK10
7180ms1048kbOK10
8360ms1824kbOK10
9364ms1824kbOK10
10376ms1824kbOK10
Punctaj total100

Ceva nu functioneaza?