# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1087136 | ZeroCool | Nautilus (BOI19_nautilus) | C++14 | 171 ms | 1116 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;
#define ar array
#define int long long
#define ld long double
#define crash assert(69 == 420)
const int MOD = 1e9 + 7;
const int INF = 1e17;
const int N = 525;
const int LOG = 20;
bitset<N> dp[2][N];
bitset<N> A[N];
signed main(){ios_base::sync_with_stdio(false);cin.tie(0);
int n, m, k;
cin>>n>>m>>k;
string s[n];
for(int i = 0;i < n;i++)cin>>s[i];
for(int i = 0;i < n;i++){
for(int j = 0;j < m;j++){
A[i][j] = (s[i][j] == '.');
}
}
string t;
cin>>t;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |