Pagini recente » Borderou de evaluare (job #2244751) | Borderou de evaluare (job #986783) | Borderou de evaluare (job #120423) | Borderou de evaluare (job #898346) | Borderou de evaluare (job #1372788)
Borderou de evaluare (job #1372788)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:48: warning: statement has no effect [-Wunused-value]
r[tempnew.x][tempnew.y]==r[temp.x][temp.y]+1;
^
user.cpp:22:24: warning: variable ‘y2’ set but not used [-Wunused-but-set-variable]
short int x1,x2,y1,y2,n,m,i,c,k,minim;
^
user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.in","r",stdin);
^
user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.out","w",stdout);
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd\n",&n,&m);
^
user.cpp:28:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&x);
^
user.cpp:51:13: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
r[x1][y1]=1;
^
user.cpp:51:13: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:69:14: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
temp.x=x2;temp.y=y1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | Depăşit | Memory limit exceeded. | 0 | 0 |
2 | 0ms | Depăşit | Memory limit exceeded. | 0 |
3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | Depăşit | Memory limit exceeded. | 0 |
5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
6 | 4ms | Depăşit | Memory limit exceeded. | 0 | 0 |
7 | 0ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |