Pagini recente » Borderou de evaluare (job #207484) | Borderou de evaluare (job #1220977) | Borderou de evaluare (job #1414445) | Borderou de evaluare (job #1996874) | Borderou de evaluare (job #2271000)
Borderou de evaluare (job #2271000)
Raport evaluator
Compilare:
main.cpp: In function 'void citire()':
main.cpp:49:37: warning: narrowing conversion of 'g[y].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[x].push_back({y, g[y].size(), 0, 1});
~~~~~~~~~^~
main.cpp:50:40: warning: narrowing conversion of '(g[x].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >() - 1ul)' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[y].push_back({x, g[x].size() - 1, 0, 1});
~~~~~~~~~~~~^~~
main.cpp: In function 'int bfs()':
main.cpp:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); k ++) {
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int dfs(int, int)':
main.cpp:84:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = rem[from]; k < g[from].size(); k ++) {
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'bool ok(int)':
main.cpp:117:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[i].size(); k ++) {
~~^~~~~~~~~~~~~
main.cpp: In function 'void DistStart()':
main.cpp:168:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); k ++) {
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void DistFinish()':
main.cpp:194:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); k ++) {
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:42:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &nrsol);
^
main.cpp:45:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
main.cpp: In function 'int main()':
main.cpp:209:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.in", "r", stdin);
^
main.cpp:210:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 29ms | 524kb | OK | 5 |
2 | 3ms | 131kb | OK | 5 |
3 | 6ms | 262kb | OK | 5 |
4 | 6ms | 262kb | OK | 5 |
5 | 3ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 4ms | 262kb | OK | 5 |
8 | 44ms | 524kb | OK | 5 |
9 | 28ms | 393kb | OK | 5 |
10 | 13ms | 262kb | OK | 5 |
11 | 19ms | 262kb | OK | 5 |
12 | 45ms | 262kb | OK | 5 |
13 | 3ms | 131kb | OK | 5 |
14 | 22ms | 524kb | OK | 5 |
15 | 22ms | 393kb | OK | 5 |
16 | 3ms | 131kb | OK | 5 |
17 | 3ms | 262kb | OK | 5 |
18 | 4ms | 262kb | OK | 5 |
19 | 152ms | 262kb | Time limit exceeded | 0 |
20 | 3ms | 262kb | OK | 5 |
Punctaj total | 95 |