Pagini recente » Borderou de evaluare (job #1971442) | Cod sursa (job #291399) | Cod sursa (job #201899) | Cod sursa (job #856147) | Borderou de evaluare (job #1593453)
Borderou de evaluare (job #1593453)
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 | 280kb | OK | 5 |
| 2 | 0ms | 292kb | OK | 5 |
| 3 | 0ms | 284kb | OK | 5 |
| 4 | 0ms | 280kb | OK | 5 |
| 5 | 0ms | 288kb | OK | 5 |
| 6 | 4ms | 388kb | OK | 5 |
| 7 | 8ms | 484kb | OK | 5 |
| 8 | 8ms | 484kb | OK | 5 |
| 9 | 8ms | 488kb | OK | 5 |
| 10 | 8ms | 488kb | OK | 5 |
| 11 | 8ms | 480kb | OK | 5 |
| 12 | 8ms | 488kb | OK | 5 |
| 13 | 4ms | 392kb | OK | 5 |
| 14 | 4ms | 428kb | OK | 5 |
| 15 | 0ms | 288kb | OK | 5 |
| 16 | 0ms | 292kb | OK | 5 |
| 17 | 0ms | 432kb | OK | 5 |
| 18 | 0ms | 316kb | OK | 5 |
| 19 | 0ms | 328kb | OK | 5 |
| 20 | 0ms | 288kb | OK | 5 |
| Punctaj total | 100 |