Borderou de evaluare (job #1948490)

Utilizator Mircea_DonciuDonciu Mircea Mircea_Donciu Data 1 aprilie 2017 10:33:55
Problema K1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:32:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&x); ^ user.cpp:49:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",s); ^ user.cpp:29: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:32:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
20ms440kbOK10
30ms448kbOK10
44ms524kbOK10
584ms1228kbIncorect0
6Depăşit6656kbTime limit exceeded.0
7Depăşit7436kbTime limit exceeded.0
8Depăşit7436kbTime limit exceeded.0
9Depăşit8216kbTime limit exceeded.0
100ms444kbOK10
Punctaj total50

Ceva nu functioneaza?