Pagini recente » Borderou de evaluare (job #2679764) | Borderou de evaluare (job #55282) | Borderou de evaluare (job #1176138) | Borderou de evaluare (job #955200) | Borderou de evaluare (job #2071076)
Borderou de evaluare (job #2071076)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bfs()’:
user.cpp:29:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[q.front()].size(); ++ k) {
^
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:47:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = rem[from]; k < g[from].size(); ++ k) {
^
user.cpp: In function ‘int dfsGrafRamas(int, int)’:
user.cpp:82:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); ++ k) {
^
user.cpp:96:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:112:38: warning: narrowing conversion of ‘g[y].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >()’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[x].push_back({y, g[y].size(), 0, z});
^
user.cpp:113:40: warning: narrowing conversion of ‘(g[x].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >() + 4294967295u)’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[y].push_back({x, g[x].size() - 1, 0, z});
^
user.cpp:138:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sol.size(); ++ i) {
^
user.cpp:99:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.in", "r", stdin);
^
user.cpp:100:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out", "w", stdout);
^
user.cpp:103:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:107:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | Okay! | 10 |
2 | 0ms | 328kb | Okay! | 10 |
3 | 0ms | 380kb | Okay! | 10 |
4 | 0ms | 356kb | Okay! | 10 |
5 | 0ms | 384kb | Okay! | 10 |
6 | 20ms | 600kb | Okay! | 10 |
7 | 128ms | 1040kb | Okay! | 10 |
8 | 120ms | 916kb | Okay! | 10 |
9 | Depăşit | 716kb | Time limit exceeded. | 0 |
10 | 12ms | 916kb | Okay! | 10 |
Punctaj total | 90 |