Pagini recente » Borderou de evaluare (job #3294787) | Borderou de evaluare (job #3255199) | Borderou de evaluare (job #2822948) | Borderou de evaluare (job #3288145) | Borderou de evaluare (job #1294928)
Borderou de evaluare (job #1294928)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[sir[j]] == 0) q->urm[sir[j]] = new nod;
^
user.cpp:68:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (q->urm[sir[j]] == 0) q->urm[sir[j]] = new nod;
^
user.cpp:69:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q = q->urm[sir[j]];
^
user.cpp:49:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("adn2.in", "r", stdin);
^
user.cpp:50:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("adn2.out", "w", stdout);
^
user.cpp:53:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
user.cpp:57:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &N, &M);
^
user.cpp:62:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/ccoDK44L.o: In function `main':
user.cpp:(.text.startup+0xec): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2124ms | 948kb | Incorect | 0 |
Punctaj total | 0 |