Borderou de evaluare (job #2730563)

Utilizator fiirobotuaic-i3e1 fiirobot Data 26 martie 2021 15:55:06
Problema Tournament Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms262kbOK55
22ms262kbOK55
32ms262kbOK55
42ms262kbOK55
585ms393kbOK520
6328ms475kbOK5
7171ms393kbOK5
8814ms393kbOK5
9167ms393kbOK520
10188ms393kbOK5
11134ms393kbOK5
12573ms393kbOK5
13134ms393kbOK520
14223ms393kbOK5
15127ms393kbOK5
16383ms393kbOK5
17223ms393kbOK520
1882ms393kbOK5
1986ms393kbOK5
20277ms393kbOK5
Punctaj total100

Ceva nu functioneaza?