Pagini recente » Borderou de evaluare (job #996444) | Borderou de evaluare (job #422734) | Borderou de evaluare (job #2476563) | Borderou de evaluare (job #724559) | Borderou de evaluare (job #1593389)
Borderou de evaluare (job #1593389)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10: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:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuras.out","w",stdout);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&k);
^
user.cpp:19:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=m;++j) { scanf("%d",&mat[i][j]); if(mat[i][j]==7) total++; }
^
user.cpp:21:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&zid);
^
user.cpp:22:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<zid;++i) { scanf("%d %d",&v1,&v2); if(mat[v1][v2]==8) wall[v1][v2]=3; else { mat[v1][v2]=8; wall[v1][v2]=1; } }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 284kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 |
4 | 0ms | 276kb | OK | 5 |
5 | 0ms | 280kb | OK | 5 |
6 | 4ms | 384kb | OK | 5 |
7 | 8ms | 484kb | Incorect | 0 |
8 | 8ms | 476kb | OK | 5 |
9 | 8ms | 480kb | OK | 5 |
10 | 8ms | 480kb | Incorect | 0 |
11 | 8ms | 480kb | OK | 5 |
12 | 8ms | 480kb | OK | 5 |
13 | 4ms | 380kb | OK | 5 |
14 | 4ms | 420kb | OK | 5 |
15 | 0ms | 280kb | OK | 5 |
16 | 0ms | 284kb | Incorect | 0 |
17 | 0ms | 428kb | OK | 5 |
18 | 0ms | 304kb | OK | 5 |
19 | 0ms | 316kb | OK | 5 |
20 | 0ms | 280kb | OK | 5 |
Punctaj total | 80 |