Pagini recente » Borderou de evaluare (job #2589768) | Borderou de evaluare (job #2525622) | Borderou de evaluare (job #503971) | Borderou de evaluare (job #3210001) | Borderou de evaluare (job #1422055)
Borderou de evaluare (job #1422055)
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:55:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sums.size(); i++) {
^
user.cpp:33: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:34: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:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &t);
^
user.cpp:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:47: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 | 1148ms | 17804kb | Raspuns gresit, drumul nu are lungimea 0. Reveniti! :) | 0 |
Punctaj total | 0 |