Pagini recente » Borderou de evaluare (job #2816888) | Borderou de evaluare (job #2903708) | Borderou de evaluare (job #2677201) | Borderou de evaluare (job #1809954) | Borderou de evaluare (job #1758707)
Borderou de evaluare (job #1758707)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ma[a][b] = ma[b][a] = 1;
^
user.cpp:33:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ma[a][b] = ma[b][a] = 1;
^
user.cpp:33:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ma[a][b] = ma[b][a] = 1;
^
user.cpp:33:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ma[a][b] = ma[b][a] = 1;
^
user.cpp:43:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!ma[s[i]][s[k]] && d[i][j] < d[j][k] + 1){
^
user.cpp:43:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!ma[s[i]][s[k]] && d[i][j] < d[j][k] + 1){
^
user.cpp:49:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!ma[s[i]][s[k]] && d[i][j] < d[k][j] + 1){
^
user.cpp:49:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!ma[s[i]][s[k]] && d[i][j] < d[k][j] + 1){
^
user.cpp:24:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, MAXN + 2, in);
^
user.cpp:29:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d ", &m);
^
user.cpp:13:17: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(prev[i][j] < j)
^
user.cpp:37:19: note: ‘c’ was declared here
int max = 0, l, c, j, k;
^
user.cpp:10:20: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez[p][dr[p]] = i;
^
user.cpp:37:16: note: ‘l’ was declared here
int max = 0, l, c, j, k;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | corect | 10 |
2 | 0ms | 284kb | corect | 10 |
3 | 0ms | 272kb | corect | 10 |
4 | 0ms | 284kb | corect | 10 |
5 | 0ms | 272kb | corect | 10 |
6 | 0ms | 276kb | corect | 10 |
7 | 0ms | 272kb | corect | 10 |
8 | 0ms | 280kb | corect | 10 |
9 | 0ms | 284kb | corect | 10 |
10 | 0ms | 276kb | corect | 10 |
Punctaj total | 100 |