Borderou de evaluare (job #1274718)

Utilizator gabimoiseMoise Gabriel gabimoise Data 24 noiembrie 2014 10:33:52
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 18

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if (s/2==poz1) printf("%ld S\n",0); ^ user.cpp:35:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if (s/2==poz2) printf("%ld S\n",1); ^ user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.in","r",stdin); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.out","w",stdout); ^ user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:16:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %c",&v[i],&d[i]); ^ user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112msDepăşitMemory limit exceeded.0
20ms460kbPrimul numar corect1
38msDepăşitMemory limit exceeded.0
48msDepăşitMemory limit exceeded.0
50ms1220kbPrimul numar corect1
60ms1424kbPrimul numar corect1
70ms452kbOK5
80ms448kbPrimul numar corect1
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
118ms5104kbPrimul numar corect1
1212msDepăşitMemory limit exceeded.0
1312msDepăşitMemory limit exceeded.0
144ms4412kbPrimul numar corect1
150ms456kbOK5
160ms448kbPrimul numar corect1
178msDepăşitMemory limit exceeded.0
1812msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
200ms468kbPrimul numar corect1
Punctaj total18

Ceva nu functioneaza?