Borderou de evaluare (job #1387416)

Utilizator valen.valentinValentin Valeanu valen.valentin Data 14 martie 2015 09:57:41
Problema Puteri35 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp:1:19: warning: extra tokens at end of #include directive [enabled by default] #include <stdio.h>; ^ user.cpp: In function ‘int main()’: user.cpp:24:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&N); ^ user.cpp:30:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%ld\n",x); ^ user.cpp:33:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%ld\n",y); ^ user.cpp:24:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms256kbOK10
30ms252kbOK10
40ms256kbOK10
50ms256kbOK10
60ms252kbOK10
712ms252kbOK10
81128ms252kbOK10
9Depăşit252kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?