Borderou de evaluare (job #1912316)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 8 martie 2017 00:54:30
Problema Kperm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(IN,"%d%d",&N,&K); ^ user.cpp:31:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:41:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(OUT,"%d",Answer); ^ user.cpp:31:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d",&N,&K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms280kbOK10
30ms272kbOK10
40ms288kbOK10
50ms292kbOK10
60ms304kbOK10
70ms308kbOK10
80ms308kbOK10
90ms316kbIncorect0
100ms308kbOK10
Punctaj total90

Ceva nu functioneaza?