Borderou de evaluare (job #1561658)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 4 ianuarie 2016 13:08:56
Problema Farfurii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d " ,i); ^ user.cpp:14:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d " ,n-(x*(x-1))/2+k); ^ user.cpp:17:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d " ,i); ^ user.cpp:8:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%lld%lld" ,&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK!10
20ms272kbOK!10
30ms272kbOK!10
40ms276kbOK!10
50ms276kbOK!10
60ms272kbOK!10
74ms272kbOK!10
88ms272kbOK!10
912ms272kbOK!10
1024ms268kbOK!10
Punctaj total100

Ceva nu functioneaza?