Pagini recente » Borderou de evaluare (job #689114) | Borderou de evaluare (job #573426) | Borderou de evaluare (job #3273329) | Borderou de evaluare (job #31578) | Borderou de evaluare (job #1407182)
Borderou de evaluare (job #1407182)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:27: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:48: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:71:69: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for (int i = 1; i <= n; i++) A[i].clear(), A[i].resize(0), viz[i] = orientare[i] = 0;
^
user.cpp:63: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:64: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:65:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
user.cpp:68: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:74: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 | 1520ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |