Borderou de evaluare (job #1274716)

Utilizator gabimoiseMoise Gabriel gabimoise Data 24 noiembrie 2014 10:31:35
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
120msDepăşitMemory limit exceeded.0
20ms456kbPrimul numar corect1
316msDepăşitMemory limit exceeded.0
420msDepăşitMemory limit exceeded.0
50ms1216kbPrimul numar corect1
60ms1416kbPrimul numar corect1
70ms444kbOK5
80ms444kbPrimul numar corect1
98msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
118ms5104kbPrimul numar corect1
1220msDepăşitMemory limit exceeded.0
1320msDepăşitMemory limit exceeded.0
144ms4408kbPrimul numar corect1
150ms452kbOK5
160ms444kbPrimul numar corect1
1720msDepăşitMemory limit exceeded.0
1820msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
200ms464kbPrimul numar corect1
Punctaj total18

Ceva nu functioneaza?