Borderou de evaluare (job #1632157)

Utilizator Andrei2001Andrei Parvulescu Andrei2001 Data 5 martie 2016 22:07:33
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 32

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d S\n",s-s1); ^ user.cpp:41:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] if (s1+v[i].vol<s) fprintf(g,"%d S",s-s1-v[i].vol); ^ user.cpp:42:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] else if (s1+v[i].vol>s) fprintf(g,"%d D",s1+v[i].vol-s); ^ user.cpp:47:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d D\n%d D",s1-s,s1+v[i].vol-s); ^ user.cpp:47:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:51:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] if (s1+v[i].vol<s) fprintf(g,"0 S\n%d S",s-s1-v[i].vol); ^ user.cpp:52:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] else fprintf(g,"0 D\n%d D",s1+v[i].vol-s); ^ user.cpp:16:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&n); ^ user.cpp:19:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld%c%c%c",&x,&c1,&c2,&c3); ^ user.cpp:33:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit588kbTime limit exceeded.0
20ms440kbOK5
340ms1216kbPrimul numar corect1
4Depăşit596kbTime limit exceeded.0
50ms440kbPrimul numar corect1
60ms440kbPrimul numar corect1
70ms444kbOK5
80ms444kbPrimul numar corect1
9Depăşit536kbTime limit exceeded.0
1016ms832kbOK5
110ms460kbPrimul numar corect1
12Depăşit592kbTime limit exceeded.0
13Depăşit588kbTime limit exceeded.0
140ms448kbPrimul numar corect1
150ms444kbPrimul numar corect1
160ms440kbOK5
17Depăşit588kbTime limit exceeded.0
18Depăşit592kbTime limit exceeded.0
19Depăşit592kbTime limit exceeded.0
200ms444kbOK5
Punctaj total32

Ceva nu functioneaza?