Pagini recente » Borderou de evaluare (job #2154254) | Borderou de evaluare (job #1562103) | Borderou de evaluare (job #911386) | Borderou de evaluare (job #432789) | Borderou de evaluare (job #1307000)
Borderou de evaluare (job #1307000)
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:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(maxim==sup[ch[i-1][j]]+sup[ch[i+1][j]])
^
user.cpp:63:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(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:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(maxim==sup[ch[i][j-1]]+sup[ch[i][j+1]])
^
user.cpp:80:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(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 | 260kb | OK | 10 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 664kb | Incorect | 0 |
4 | 0ms | 616kb | Incorect | 0 |
5 | 0ms | 520kb | Incorect | 0 |
6 | 0ms | 296kb | OK | 10 |
7 | 0ms | 504kb | Incorect | 0 |
8 | 0ms | 292kb | Incorect | 0 |
9 | 0ms | 312kb | OK | 10 |
10 | 0ms | 716kb | Incorect | 0 |
Punctaj total | 30 |