Pagini recente » Borderou de evaluare (job #2810452) | Borderou de evaluare (job #1731455) | Borderou de evaluare (job #1827748) | Borderou de evaluare (job #1839689) | Borderou de evaluare (job #1730095)
Borderou de evaluare (job #1730095)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.out","w",stdout);
^
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",&n,&m,&K);
^
user.cpp:17:55: 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",&a[i][j]);
^
user.cpp:19:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x1,&y1,&x2,&y2);
^
user.cpp:21:16: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( !a[i][j] ) ways[x1][y1][0] = 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 308kb | OK | 10 |
| 2 | 0ms | 352kb | OK | 10 |
| 3 | 0ms | 340kb | OK | 10 |
| 4 | 0ms | 348kb | OK | 10 |
| 5 | 0ms | 392kb | OK | 10 |
| 6 | 0ms | 380kb | OK | 10 |
| 7 | 0ms | 384kb | OK | 10 |
| 8 | 0ms | 688kb | OK | 10 |
| 9 | 0ms | 512kb | OK | 10 |
| 10 | 0ms | 568kb | OK | 10 |
| Punctaj total | 100 |