# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
289659 | rocks03 | Bitaro the Brave (JOI19_ho_t1) | C++14 | 483 ms | 118392 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 ll long long
#define pld pair<long double, int>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define pb push_back
#define ff first
#define ss second
#define SZ(x) ((int)(x).size())
#define ld long double
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
const int MAXN = 3e3+100;
int H, W, a[MAXN][MAXN], cnt[2+1][MAXN][MAXN];
void read(){
cin >> H >> W;
for(int i = 0; i < H; i++){
string s; cin >> s;
for(int j = 0; j < W; j++){
if(s[j] == 'J')
a[i][j] = 0;
else if(s[j] == 'O')
a[i][j] = 1;
else if(s[j] == 'I')
a[i][j] = 2;
}
}
for(int i = 0; i < H; i++){
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |