Borderou de evaluare (job #1274714)

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

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
10ms1588kbKilled by signal 11(SIGSEGV).0
20ms468kbPrimul numar corect1
30ms1972kbKilled by signal 11(SIGSEGV).0
40ms1968kbKilled by signal 11(SIGSEGV).0
50ms1216kbPrimul numar corect1
60ms1424kbPrimul numar corect1
70ms456kbOK5
80ms452kbPrimul numar corect1
90ms1584kbWall time limit exceeded.0
100ms1984kbWall time limit exceeded.0
110ms1984kbWall time limit exceeded.0
120ms1976kbKilled by signal 11(SIGSEGV).0
130ms1976kbKilled by signal 11(SIGSEGV).0
140ms1984kbWall time limit exceeded.0
150ms452kbOK5
160ms456kbPrimul numar corect1
170ms1968kbKilled by signal 11(SIGSEGV).0
180ms1972kbKilled by signal 11(SIGSEGV).0
190ms1984kbWall time limit exceeded.0
200ms464kbPrimul numar corect1
Punctaj total16

Ceva nu functioneaza?