# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
343942 | _ani | Red-blue table (IZhO19_stones) | C++17 | 50 ms | 2284 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
char w[1002][1002];
void Nvnvik(int n, int m, int k) {
int i = 0, j = 0;
while (i < m)
{
int cnt = 0;
while (cnt < k)
{
w[j][i] = '-';
j++;
if (j >= n)
j = 0;
cnt++;
}
i++;
}
for (int i = 0; i < n; i++)
for (int j = 0; j < m; j++)
if (w[i][j] == '.')
w[i][j] = '+';
}
void Nvnvik2(int n, int m, int k) {
int i = 0, j = 0;
while (i < m)
{
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |