Pagini recente » Cod sursa (job #250118) | Cod sursa (job #2862462) | Borderou de evaluare (job #2503721) | Cod sursa (job #1051309) | 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 |