Pagini recente » Borderou de evaluare (job #62163) | Borderou de evaluare (job #2780614) | Borderou de evaluare (job #366675) | Borderou de evaluare (job #597371) | Borderou de evaluare (job #1687014)
Borderou de evaluare (job #1687014)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:13: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:14: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:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:23:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:28: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:68: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:74: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:98: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 | 268kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 4ms | 356kb | OK | 10 |
4 | 40ms | 960kb | OK | 10 |
5 | 36ms | 880kb | OK | 10 |
6 | 40ms | 880kb | OK | 10 |
7 | 16ms | 364kb | OK | 10 |
8 | 16ms | 364kb | OK | 10 |
9 | 36ms | 796kb | OK | 10 |
10 | 32ms | 808kb | OK | 10 |
Punctaj total | 100 |