Borderou de evaluare (job #1700355)

Utilizator JavaAlexDinu Alexandru JavaAlex Data 10 mai 2016 11:35:45
Problema GFact Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in , "%d%d" , &p , &q); ^ user.cpp:57:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:62:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out , "%d" , rez()); ^ user.cpp:57:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in , "%d%d" , &p , &q); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK5
20ms452kbOK5
30ms448kbOK5
40ms444kbOK5
50ms452kbOK5
60ms448kbOK5
70ms444kbOK5
80ms444kbOK5
90ms452kbOK5
100ms448kbOK5
110ms452kbOK5
120ms448kbOK5
130ms448kbOK5
140ms452kbOK5
150ms448kbOK5
160ms448kbOK5
170ms448kbOK5
180ms448kbIncorect0
190ms448kbIncorect0
200ms444kbOK5
Punctaj total90

Ceva nu functioneaza?