Borderou de evaluare (job #1274715)

Utilizator gabimoiseMoise Gabriel gabimoise Data 24 noiembrie 2014 10:29:28
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
10ms2368kbKilled by signal 11(SIGSEGV).0
20ms460kbPrimul numar corect1
34ms3140kbKilled by signal 11(SIGSEGV).0
44ms3140kbKilled by signal 11(SIGSEGV).0
50ms1220kbPrimul numar corect1
60ms1424kbPrimul numar corect1
70ms452kbOK5
80ms456kbPrimul numar corect1
90ms2376kbWall time limit exceeded.0
104ms3160kbWall time limit exceeded.0
114ms3148kbKilled by signal 11(SIGSEGV).0
120ms3084kbKilled by signal 11(SIGSEGV).0
130ms3088kbKilled by signal 11(SIGSEGV).0
144ms3148kbKilled by signal 11(SIGSEGV).0
150ms452kbOK5
160ms448kbPrimul numar corect1
174ms3136kbKilled by signal 11(SIGSEGV).0
180ms3092kbKilled by signal 11(SIGSEGV).0
194ms3164kbWall time limit exceeded.0
200ms468kbPrimul numar corect1
Punctaj total16

Ceva nu functioneaza?