# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
72687 | gs14004 | Judge Against Wrong Code (FXCUP3_judge) | C++17 | 716 ms | 148024 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
typedef long long lint;
typedef long double llf;
typedef pair<int, int> pi;
const int MAXN = 1050000;
int m, n1, n2, a[MAXN], b[MAXN];
char buf[22];
int getMask(){
scanf("%s",buf);
int ans = 0;
for(int i=0; buf[i]; i++){
if(buf[i] != '.') ans |= (1<<i);
}
return ans;
}
int dp[MAXN];
int func[MAXN], clos[MAXN], cnt[MAXN], ret[MAXN];
using base = int;
void fft(vector<base> &a, bool inv){
int n = a.size(), j = 0;
for(int i=1; i<n; i++){
int bit = (n >> 1);
while(j >= bit){
j -= bit;
bit >>= 1;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |