Pagini recente » Borderou de evaluare (job #2407550) | Borderou de evaluare (job #198272) | Borderou de evaluare (job #1810929) | Borderou de evaluare (job #41637) | Borderou de evaluare (job #2385100)
Borderou de evaluare (job #2385100)
Raport evaluator
Compilare:
main.cpp: In function 'void Flow::add_edge(int, int, int)':
main.cpp:20:47: warning: narrowing conversion of 'Flow::edges.std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
edges.push_back({ to, flow, edges.size() });
~~~~~~~~~~^~
main.cpp:22:46: warning: narrowing conversion of 'Flow::edges.std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
edges.push_back({ from, 0, edges.size() });
~~~~~~~~~~^~
main.cpp: In function 'bool Flow::bfs()':
main.cpp:30:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < q.size(); i++) {
~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:84:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &n, &m);
^
main.cpp:89:41: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 2ms | 131kb | OK | 10 | 10 |
6 | 3ms | 131kb | OK | 10 | 10 |
7 | 7ms | 262kb | OK | 10 | 10 |
8 | 25ms | 262kb | OK | 10 | 30 |
9 | 28ms | 262kb | OK | 10 |
10 | 43ms | 393kb | OK | 10 |
Punctaj total | 100 |