Pagini recente » Borderou de evaluare (job #2983470) | Borderou de evaluare (job #1550639) | Borderou de evaluare (job #2157641) | Borderou de evaluare (job #1890514) | Borderou de evaluare (job #1659660)
Borderou de evaluare (job #1659660)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(nod*&)’:
user.cpp:43:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[aux[k]] == 0) break;
^
user.cpp:44:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q = q->urm[aux[k]];
^
user.cpp: In function ‘int main()’:
user.cpp:101: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:101: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:102:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q = q->urm[sir[l1 + i + 1]];
^
user.cpp:132: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:132: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:133:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q2 = q2->urm[sir[i + 1]];
^
user.cpp:159:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[aux[k]] == 0) break;
^
user.cpp:160:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q = q->urm[aux[k]];
^
user.cpp:70: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:71: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:73:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
user.cpp:76: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:77:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
user.cpp:81: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 | 352ms | 6816kb | Incorect | 0 |
Punctaj total | 0 |