Borderou de evaluare (job #2650481)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ind[u] < grafo[u].size())
~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:63:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < lista.size(); i += 2)
~~^~~~~~~~~~~~~~
main.cpp:71:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < tour.size(); i++)
~~^~~~~~~~~~~~~
main.cpp:79:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", ans.size());
^
main.cpp:39:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ratway.in", "r", stdin); freopen("ratway.out", "w", stdout);
^
main.cpp:39:70: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ratway.in", "r", stdin); freopen("ratway.out", "w", stdout);
^
main.cpp:41:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:46:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 50ms | 24117kb | Corect! | 5 |
2 | 49ms | 24117kb | Corect! | 5 |
3 | 51ms | 24117kb | Corect! | 5 |
4 | 54ms | 24248kb | Corect! | 5 |
5 | 53ms | 24248kb | Corect! | 5 |
6 | 54ms | 24248kb | Corect! | 5 |
7 | 54ms | 24248kb | Corect! | 5 |
8 | 54ms | 24248kb | Corect! | 5 |
9 | 54ms | 24248kb | Corect! | 5 |
10 | 369ms | 37732kb | Corect! | 5 |
11 | 465ms | 41140kb | Corect! | 5 |
12 | 468ms | 41533kb | Corect! | 5 |
13 | 465ms | 41914kb | Corect! | 5 |
14 | 442ms | 41926kb | Corect! | 5 |
15 | 482ms | 44023kb | Corect! | 5 |
16 | 485ms | 43765kb | Corect! | 5 |
17 | 460ms | 42713kb | Corect! | 5 |
18 | 487ms | 44027kb | Corect! | 5 |
19 | 526ms | 44679kb | Corect! | 5 |
20 | 500ms | 44290kb | Corect! | 5 |
Punctaj total | 100 |