Pagini recente » Borderou de evaluare (job #1061683) | Borderou de evaluare (job #1961678) | Borderou de evaluare (job #1322237) | Borderou de evaluare (job #3258009) | Borderou de evaluare (job #1654341)
Borderou de evaluare (job #1654341)
Raport evaluator
Compilare:
user.cpp: In function ‘int bomba(int, int)’:
user.cpp:25: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:134: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:37: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:39: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:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:45: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:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n2);
^
user.cpp:57: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 5 |
2 | 0ms | 416kb | OK | 5 |
3 | 0ms | 420kb | OK | 5 |
4 | 0ms | 416kb | OK | 5 |
5 | 0ms | 420kb | OK | 5 |
6 | 0ms | 444kb | OK | 5 |
7 | 4ms | 452kb | OK | 5 |
8 | 4ms | 456kb | OK | 5 |
9 | 4ms | 460kb | OK | 5 |
10 | 4ms | 456kb | OK | 5 |
11 | 4ms | 456kb | OK | 5 |
12 | 4ms | 452kb | OK | 5 |
13 | 0ms | 444kb | OK | 5 |
14 | 0ms | 456kb | OK | 5 |
15 | 0ms | 420kb | OK | 5 |
16 | 0ms | 420kb | OK | 5 |
17 | 0ms | 460kb | OK | 5 |
18 | 0ms | 432kb | OK | 5 |
19 | 0ms | 432kb | OK | 5 |
20 | 0ms | 420kb | OK | 5 |
Punctaj total | 100 |