Borderou de evaluare (job #1274717)

Utilizator gabimoiseMoise Gabriel gabimoise Data 24 noiembrie 2014 10:33:14
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
116msDepăşitMemory limit exceeded.0
20ms460kbPrimul numar corect1
312msDepăşitMemory limit exceeded.0
416msDepăşitMemory limit exceeded.0
50ms1204kbPrimul numar corect1
60ms1412kbPrimul numar corect1
70ms444kbOK5
80ms440kbPrimul numar corect1
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
118ms5104kbPrimul numar corect1
1216msDepăşitMemory limit exceeded.0
1316msDepăşitMemory limit exceeded.0
144ms4400kbPrimul numar corect1
150ms448kbOK5
160ms448kbPrimul numar corect1
1716msDepăşitMemory limit exceeded.0
1816msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
200ms456kbPrimul numar corect1
Punctaj total18

Ceva nu functioneaza?