Pagini recente » Borderou de evaluare (job #486790) | Borderou de evaluare (job #2552300) | Borderou de evaluare (job #1829113) | Borderou de evaluare (job #2427668) | Borderou de evaluare (job #1307006)
Borderou de evaluare (job #1307006)
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]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 656kb | Incorect | 0 |
4 | 0ms | 612kb | Incorect | 0 |
5 | 0ms | 516kb | Incorect | 0 |
6 | 0ms | 292kb | OK | 10 |
7 | 0ms | 496kb | Incorect | 0 |
8 | 0ms | 292kb | Incorect | 0 |
9 | 0ms | 304kb | OK | 10 |
10 | 0ms | 712kb | Incorect | 0 |
Punctaj total | 30 |