Pagini recente » Borderou de evaluare (job #1149650) | Borderou de evaluare (job #1281469) | Borderou de evaluare (job #2072798) | Borderou de evaluare (job #2907269) | Borderou de evaluare (job #1574031)
Borderou de evaluare (job #1574031)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:197: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:197: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:197: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:202: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:202: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:202: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:33: 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: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 | 308kb | Incorect | 0 |
| 2 | 0ms | 324kb | OK | 10 |
| 3 | 0ms | 372kb | OK | 10 |
| 4 | 0ms | 372kb | OK | 10 |
| 5 | 0ms | 372kb | Incorect | 0 |
| 6 | 0ms | 372kb | Incorect | 0 |
| 7 | 0ms | 372kb | OK | 10 |
| 8 | 0ms | 384kb | Incorect | 0 |
| 9 | 0ms | 368kb | Incorect | 0 |
| 10 | 0ms | 368kb | Incorect | 0 |
| Punctaj total | 40 |