Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
21 Noiembrie 2023, 22:42 |
c++14 |
100.0 |
main.cpp: In function ‘long long int comb(int, int)’:
main.cpp:14:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<long long int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
14 | if(N < memo_comb.size() && K < memo_comb[N].size()) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:14:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
14 | if(N < memo_comb.size() && K < memo_comb[N].size()) {
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:18:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<long long int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
18 | if(N >= memo_comb.size()) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function ‘void solve()’:
main.cpp:47:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
47 | auto [val, p] = *S.begin();
| ^
main.cpp: In function ‘int main()’:
main.cpp:76:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
76 | freopen("provocare.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:77:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
77 | freopen("provocare.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,001 |
176KB |
5,0 |
|
2
|
correct |
0,023 |
5.36MB |
5,0 |
|
3
|
correct |
0,023 |
5.26MB |
5,0 |
|
4
|
correct |
0,022 |
5.41MB |
5,0 |
|
5
|
correct |
0,018 |
4.98MB |
5,0 |
|
6
|
correct |
0,02 |
4.94MB |
5,0 |
|
7
|
correct |
0,021 |
4.95MB |
5,0 |
|
8
|
correct |
0,019 |
4.9MB |
5,0 |
|
9
|
correct |
0,02 |
4.9MB |
5,0 |
|
10
|
correct |
0,018 |
4.96MB |
5,0 |
|
11
|
correct |
0,019 |
4.9MB |
5,0 |
|
12
|
correct |
0,001 |
176KB |
5,0 |
|
13
|
correct |
0,017 |
4.96MB |
5,0 |
|
14
|
correct |
0,0 |
176KB |
5,0 |
|
15
|
correct |
0,0 |
176KB |
5,0 |
|
16
|
correct |
0,001 |
176KB |
5,0 |
|
17
|
correct |
0,001 |
176KB |
5,0 |
|
18
|
correct |
0,0 |
176KB |
5,0 |
|
19
|
correct |
0,001 |
176KB |
5,0 |
|
20
|
correct |
0,001 |
176KB |
5,0 |