Pagini recente » Borderou de evaluare (job #497278) | Borderou de evaluare (job #1881216) | Borderou de evaluare (job #2977546) | Borderou de evaluare (job #2328988) | Borderou de evaluare (job #1654325)
Borderou de evaluare (job #1654325)
Raport evaluator
Compilare:
user.cpp: In function ‘int bomba(int, int)’:
user.cpp:19:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i1>=0 && i1<=m && j1>=1 && j1<=n)
^
user.cpp: In function ‘int main()’:
user.cpp:127:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a[i+di[d-1]][j+dj[d-1]]=='5' || a[i+di[d-1]][j+dj[d-1]]=='8')
^
user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuras.in","r",stdin);
^
user.cpp:32:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&m,&n,&i0,&j0,&d);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ",&a[i][j]);
^
user.cpp:48:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n2);
^
user.cpp:50:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&z2[i].first,&z2[i].second);
^
user.cpp:79:9: warning: ‘nrm’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (q==nrm)
^
user.cpp:101:17: warning: ‘n1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (k=0; k<n1; k++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 5 |
| 2 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
| 11 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 12 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 428kb | Incorect | 0 |
| 17 | 0ms | 460kb | Incorect | 0 |
| 18 | 0ms | 440kb | OK | 5 |
| 19 | 0ms | 440kb | OK | 5 |
| 20 | 0ms | 424kb | Incorect | 0 |
| Punctaj total | 15 |