Pagini recente » Borderou de evaluare (job #1336668) | Borderou de evaluare (job #1279338) | Borderou de evaluare (job #2792891) | Borderou de evaluare (job #1664720) | Borderou de evaluare (job #1659650)
Borderou de evaluare (job #1659650)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(nod*&)’:
user.cpp:44:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[aux[k]] == 0) break;
^
user.cpp:45:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q = q->urm[aux[k]];
^
user.cpp: In function ‘int main()’:
user.cpp:98:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[sir[l1 + i + 1]] == 0) q->urm[sir[l1 + i + 1]] = new nod;
^
user.cpp:98:73: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[sir[l1 + i + 1]] == 0) q->urm[sir[l1 + i + 1]] = new nod;
^
user.cpp:99:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q = q->urm[sir[l1 + i + 1]];
^
user.cpp:129:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q2->urm[sir[i + 1]] == 0) q2->urm[sir[i + 1]] = new nod;
^
user.cpp:129:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q2->urm[sir[i + 1]] == 0) q2->urm[sir[i + 1]] = new nod;
^
user.cpp:130:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q2 = q2->urm[sir[i + 1]];
^
user.cpp:156:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[aux[k]] == 0) break;
^
user.cpp:157:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q = q->urm[aux[k]];
^
user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("palsubsecv.in", "r", stdin);
^
user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("palsubsecv.out", "w", stdout);
^
user.cpp:70:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
user.cpp:73:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d\n", &N, &Re, &B);
^
user.cpp:74:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
user.cpp:78:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &a[i], &b[i], &c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 356ms | 6820kb | Incorect | 0 |
Punctaj total | 0 |