Pagini recente » Autentificare | Statistici Ionut Balauca (faceless) | Borderou de evaluare (job #117271) | Borderou de evaluare (job #644374) | Borderou de evaluare (job #2002018)
Borderou de evaluare (job #2002018)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[v[i][j]] ++;
^
user.cpp:32:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[v[i][j]] --;
^
user.cpp:35:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[v[i][j]] --;
^
user.cpp:39:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[v[i][j]] --;
^
user.cpp:18:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d %d",&n,&m);
^
user.cpp:20:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(tmp,3,in);
^
user.cpp:23:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(v[i],NMAX+3,in);
^
user.cpp:48:32: warning: array subscript is above array bounds [-Warray-bounds]
fprintf(out,"%d ",nr[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Raspuns Gresit | 0 |
| 2 | 0ms | 264kb | Raspuns Gresit | 0 |
| 3 | 0ms | 268kb | Raspuns Gresit | 0 |
| 4 | 0ms | 276kb | Raspuns Gresit | 0 |
| 5 | 0ms | 276kb | Raspuns Gresit | 0 |
| 6 | 0ms | 268kb | Raspuns Gresit | 0 |
| 7 | 0ms | 272kb | Raspuns Gresit | 0 |
| 8 | 0ms | 276kb | Raspuns Gresit | 0 |
| 9 | 0ms | 276kb | Raspuns Gresit | 0 |
| 10 | 0ms | 276kb | Raspuns Gresit | 0 |
| Punctaj total | 0 |