Pagini recente » Borderou de evaluare (job #2636365) | Borderou de evaluare (job #2583633) | Borderou de evaluare (job #53591) | Borderou de evaluare (job #3279380) | Borderou de evaluare (job #1421999)
Borderou de evaluare (job #1421999)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, long long int)’:
user.cpp:20:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[nd].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:53:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sums.size(); i++) {
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ecotraseu.in", "r", stdin);
^
user.cpp:32:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ecotraseu.out", "w", stdout);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &t);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:45:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &x, &y, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1196ms | 19080kb | Raspuns gresit, drumul nu are lungimea 0. Reveniti! :) | 0 |
Punctaj total | 0 |