Pagini recente » Borderou de evaluare (job #688898) | Borderou de evaluare (job #1864809) | Borderou de evaluare (job #939157) | Borderou de evaluare (job #692677) | Borderou de evaluare (job #1574062)
Borderou de evaluare (job #1574062)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:200:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){
^
user.cpp:200:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){
^
user.cpp:200:84: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){
^
user.cpp:205:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(max_arie_2 == v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1){
^
user.cpp:205:73: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(max_arie_2 == v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1){
^
user.cpp:205:90: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(max_arie_2 == v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1){
^
user.cpp:49:10: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.cpp:51:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d\n", &n, &m);
^
user.cpp:54:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", mat[i] + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 356kb | OK | 10 |
4 | 0ms | 364kb | OK | 10 |
5 | 0ms | 360kb | OK | 10 |
6 | 0ms | 356kb | OK | 10 |
7 | 0ms | 360kb | OK | 10 |
8 | 0ms | 380kb | OK | 10 |
9 | 0ms | 356kb | OK | 10 |
10 | 0ms | 364kb | OK | 10 |
Punctaj total | 100 |