Pagini recente » Borderou de evaluare (job #1151429) | Borderou de evaluare (job #2341762) | Borderou de evaluare (job #3245997) | Borderou de evaluare (job #1965669) | Borderou de evaluare (job #1406975)
Borderou de evaluare (job #1406975)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:26:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[nd].size() && !stop; i++) {
^
user.cpp: In function ‘void BFS()’:
user.cpp:45:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[x].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:59:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("comoditate.in", "r", stdin);
^
user.cpp:60:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("comoditate.out", "w", stdout);
^
user.cpp:61:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
user.cpp:64:28: 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:70:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 1768kb | Fisier de iesire corupt | 0 |
Punctaj total | 0 |