Pagini recente » Borderou de evaluare (job #508287) | Borderou de evaluare (job #2977284) | Borderou de evaluare (job #226057) | Borderou de evaluare (job #2809564) | Borderou de evaluare (job #1307002)
Borderou de evaluare (job #1307002)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(maxim<(sup[ch[i-1][j]]+sup[ch[i+1][j]]))
^
user.cpp:57:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(maxim<(sup[ch[i-1][j]]+sup[ch[i+1][j]]))
^
user.cpp:61:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim=(sup[ch[i-1][j]]+sup[ch[i+1][j]]);
^
user.cpp:61:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim=(sup[ch[i-1][j]]+sup[ch[i+1][j]]);
^
user.cpp:63:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(p1>=i&&maxim==sup[ch[i-1][j]]+sup[ch[i+1][j]])
^
user.cpp:63:73: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(p1>=i&&maxim==sup[ch[i-1][j]]+sup[ch[i+1][j]])
^
user.cpp:74:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(maxim<(sup[ch[i][j-1]]+sup[ch[i][j+1]]))
^
user.cpp:74:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(maxim<(sup[ch[i][j-1]]+sup[ch[i][j+1]]))
^
user.cpp:78:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim=(sup[ch[i][j-1]]+sup[ch[i][j+1]]);
^
user.cpp:78:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim=(sup[ch[i][j-1]]+sup[ch[i][j+1]]);
^
user.cpp:80:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(p1>=i&&maxim==sup[ch[i][j-1]]+sup[ch[i][j+1]])
^
user.cpp:80:73: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(p1>=i&&maxim==sup[ch[i][j-1]]+sup[ch[i][j+1]])
^
user.cpp:20:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&m);
^
user.cpp:25:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&ch[0][0]);
^
user.cpp:28:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&ch[i][j]);
^
user.cpp:65:30: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(p1+p2>i+j)
^
user.cpp:65:30: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 660kb | Incorect | 0 |
4 | 0ms | 612kb | Incorect | 0 |
5 | 0ms | 524kb | Incorect | 0 |
6 | 0ms | 300kb | OK | 10 |
7 | 0ms | 496kb | Incorect | 0 |
8 | 0ms | 292kb | Incorect | 0 |
9 | 0ms | 312kb | OK | 10 |
10 | 0ms | 716kb | Incorect | 0 |
Punctaj total | 30 |