Borderou de evaluare (job #1417771)

Utilizator figure0907Andrei Gonczi figure0907 Data 10 aprilie 2015 22:32:13
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

Raport evaluator

Compilare: user.cpp: In function ‘void readdata()’: user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%d",&p); ^ user.cpp:9:23: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=] user.cpp: In function ‘int solve()’: user.cpp:17:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d",n); ^ user.cpp: In function ‘void writedata()’: user.cpp:65:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(f,"%d",n); ^ user.cpp: In function ‘void readdata()’: user.cpp:9:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbRaspuns incorect0
20ms256kbCorect!5
30ms264kbCorect!5
40ms256kbCorect!5
5Depăşit252kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
70ms260kbCorect!5
80ms260kbCorect!5
90ms260kbCorect!5
100ms264kbCorect!5
110ms256kbCorect!5
120ms264kbCorect!5
130ms256kbCorect!5
140ms264kbCorect!5
150ms260kbCorect!5
160ms260kbCorect!5
170ms264kbCorect!5
180ms264kbCorect!5
190ms260kbCorect!5
200ms260kbCorect!5
Punctaj total85

Ceva nu functioneaza?