Pagini recente » Borderou de evaluare (job #2461367) | Borderou de evaluare (job #2404524) | Borderou de evaluare (job #2905043) | Borderou de evaluare (job #796088) | Borderou de evaluare (job #1407000)
Borderou de evaluare (job #1407000)
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:67:53: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for (int i = 1; i <= n; i++) A[i].clear(), viz[i] = orientare[i] = 0;
^
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:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &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 | 1744kb | Fisier de iesire corupt | 0 |
Punctaj total | 0 |