# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1174106 | LucaIlie | Bowling (BOI15_bow) | C++20 | 281 ms | 2028 KiB |
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 10;
const int MAX_A = 10;
const int MAX_P = 300;
const int MOD = 1e9 + 7;
int points[MAX_N];
int dp[MAX_N + 1][MAX_P + 1][MAX_A + 1][MAX_A + 1];
vector<pair<string, int>> normalRound, finalRound;
bool comp( string a, string b ) {
if ( a.size() != b.size() )
return false;
bool ok = true;
for ( int i = 0; i < a.size(); i++ ) {
if ( a[i] == '?' || b[i] == '?' )
continue;
ok &= (a[i] == b[i]);
}
return ok;
}
void initRounds() {
for ( int a = 0; a <= 10; a++ ) {
if ( a == 10 )
normalRound.push_back( { "x-", 10 } );
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |