Borderou de evaluare (job #1412994)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 1 aprilie 2015 18:00:28
Problema Marbles Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marbles.in","r",stdin); ^ user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marbles.out","w",stdout); ^ user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&N,&M); ^ user.cpp:27:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &coord, &cul); ^ user.cpp:34:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &OP, &I, &J); ^ user.cpp:38:36: warning: array subscript is below array bounds [-Warray-bounds] if (poz < 0) swap(b[poz],a[I]); ^ user.cpp:38:36: warning: array subscript is below array bounds [-Warray-bounds] user.cpp:50:28: warning: array subscript is below array bounds [-Warray-bounds] if (b[k] != 0) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms212kbKilled by signal 11(SIGSEGV).0
20ms212kbKilled by signal 11(SIGSEGV).0
30ms216kbKilled by signal 11(SIGSEGV).0
40ms216kbKilled by signal 11(SIGSEGV).0
50ms216kbKilled by signal 11(SIGSEGV).0
60ms216kbKilled by signal 11(SIGSEGV).0
70ms216kbKilled by signal 11(SIGSEGV).0
80ms220kbKilled by signal 11(SIGSEGV).0
90ms220kbKilled by signal 11(SIGSEGV).0
100ms220kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?