Pagini recente » Borderou de evaluare (job #1255941) | Borderou de evaluare (job #831479) | Borderou de evaluare (job #2933134) | Borderou de evaluare (job #1279906) | Borderou de evaluare (job #1686970)
Borderou de evaluare (job #1686970)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("casa.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("casa.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:27:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c",&room,&type);
^
user.cpp:67:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:73:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
user.cpp:91:41: warning: ‘C’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( a[ x + dirx[k] ][ y + diry[k] ] == 1 )
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 4ms | 368kb | OK | 10 |
4 | 44ms | 956kb | OK | 10 |
5 | 36ms | 888kb | OK | 10 |
6 | 44ms | 884kb | OK | 10 |
7 | 16ms | 364kb | OK | 10 |
8 | 16ms | 368kb | OK | 10 |
9 | 36ms | 800kb | OK | 10 |
10 | 32ms | 800kb | OK | 10 |
Punctaj total | 90 |