Pagini recente » Borderou de evaluare (job #1450580) | Borderou de evaluare (job #2355459) | Borderou de evaluare (job #2119420) | Borderou de evaluare (job #332209) | Borderou de evaluare (job #2071068)
Borderou de evaluare (job #2071068)
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:115:46: warning: narrowing conversion of ‘g[j].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >()’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[i].push_back({j, g[j].size(), 0, cap[i][j]});
^
user.cpp:116:48: warning: narrowing conversion of ‘(g[i].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >() + 4294967295u)’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
g[j].push_back({i, g[i].size() - 1, 0, cap[i][j]});
^
user.cpp:128:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[i].size(); ++ k) {
^
user.cpp:141: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 | 344kb | Okay! | 10 |
2 | 0ms | 380kb | Okay! | 10 |
3 | 0ms | 652kb | Okay! | 10 |
4 | 0ms | 1116kb | Okay! | 10 |
5 | 0ms | 1652kb | Okay! | 10 |
6 | 24ms | 1316kb | Okay! | 10 |
7 | 128ms | 2036kb | Okay! | 10 |
8 | 36ms | 2384kb | Okay! | 10 |
9 | Depăşit | 1972kb | Time limit exceeded. | 0 |
10 | 24ms | 8680kb | Okay! | 10 |
Punctaj total | 90 |