Pagini recente » Borderou de evaluare (job #2550424) | Borderou de evaluare (job #1233129) | Borderou de evaluare (job #785230) | Borderou de evaluare (job #32) | Borderou de evaluare (job #2730563)
Borderou de evaluare (job #2730563)
Raport evaluator
Compilare:
main.cpp: In function 'void added(int, int, int)':
main.cpp:10:37: warning: narrowing conversion of 'g[y].std::vector<_Tp, _Alloc>::size<ed, std::allocator<ed> >()' from 'std::vector<ed>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[x].push_back({y, 0, cap, g[y].size()});
~~~~~~~~~^~
main.cpp:11:37: warning: narrowing conversion of '(g[x].std::vector<_Tp, _Alloc>::size<ed, std::allocator<ed> >() - 1ul)' from 'std::vector<ed>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[y].push_back({x, 0, 0, g[x].size()-1});}
~~~~~~~~~~~^~
main.cpp: In function 'int main()':
main.cpp:87:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", sol.size());
^
main.cpp:74:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tournament.in","r",stdin);
^
main.cpp:75:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tournament.out","w",stdout);
^
main.cpp:77:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:79:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &w[i]);
^
main.cpp:82:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 262kb | OK | 5 | 5 |
2 | 2ms | 262kb | OK | 5 | 5 |
3 | 2ms | 262kb | OK | 5 | 5 |
4 | 2ms | 262kb | OK | 5 | 5 |
5 | 85ms | 393kb | OK | 5 | 20 |
6 | 328ms | 475kb | OK | 5 |
7 | 171ms | 393kb | OK | 5 |
8 | 814ms | 393kb | OK | 5 |
9 | 167ms | 393kb | OK | 5 | 20 |
10 | 188ms | 393kb | OK | 5 |
11 | 134ms | 393kb | OK | 5 |
12 | 573ms | 393kb | OK | 5 |
13 | 134ms | 393kb | OK | 5 | 20 |
14 | 223ms | 393kb | OK | 5 |
15 | 127ms | 393kb | OK | 5 |
16 | 383ms | 393kb | OK | 5 |
17 | 223ms | 393kb | OK | 5 | 20 |
18 | 82ms | 393kb | OK | 5 |
19 | 86ms | 393kb | OK | 5 |
20 | 277ms | 393kb | OK | 5 |
Punctaj total | 100 |