# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1127601 | doducanh | Palinilap (COI16_palinilap) | C++20 | 93 ms | 17320 KiB |
///roadtoVOI2025
///enjoythejourney
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define fi first
#define se second
#define ii pair<int,int>
#define mp make_pair
#define in(x) freopen(x,"r",stdin)
#define out(x) freopen(x,"w",stdout)
#define bit(x,i) ((x>>i)&1)
#define lc (id<<1)
#define rc ((id<<1)^1)
const int mod=1e9+9;
const int maxn=1e5+7;
string s;
int p[maxn];
int h[maxn];
int hn[maxn];
int mul(int a,int b)
{
return (1ll*a*b)%mod;
}
int add(int a,int b)
{
ll c=a+b;
if(c>=mod)c-=mod;
return c;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |