Pagini recente » Borderou de evaluare (job #978208) | Borderou de evaluare (job #913785) | Borderou de evaluare (job #399888) | Borderou de evaluare (job #2485409) | Borderou de evaluare (job #1412994)
Borderou de evaluare (job #1412994)
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 |
1 | 0ms | 212kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 212kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |