# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
342015 | Gajowy | Fishing Game (RMI19_fishing) | C++14 | 1061 ms | 59372 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
#define ll long long
const int MAXN=3e2+10;
const int mod=1e9+7;
int dp[MAXN][MAXN][MAXN];
bool isa[MAXN],isb[MAXN],isc[MAXN];
void add(int &x,int v){
x+=v;
if(x>=mod)
x-=mod;
}
int mul(ll x,ll y){
return (x*y)%mod;
}
int sum(int x,int y){
return (x+y>=mod?x+y-mod:x+y);
}
void sub(int &x,int v){
x-=v;
if(x<0)
x+=mod;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |