# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
433071 | Valaki2 | Game (eJOI20_game) | C++14 | 1 ms | 312 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;
void solve_subtask_1_questionmark() {
int n, m;
cin >> n >> m;
int cnt = 0;
bool edge = false;
for(int i = 0; i <= n; ++i) {
for(int j = 0; j < m; ++j) {
char ch;
cin >> ch;
if(ch == '0') {
++cnt;
if(i == 0) {
edge = true;
}
}
}
}
for(int i = 0; i <= m; ++i) {
for(int j = 0; j < n; ++j) {
char ch;
cin >> ch;
if(ch == '0') {
++cnt;
if(i == 0) {
edge = true;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |