| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 150265 | USA1 (#200) | Windows Icon Manager (FXCUP4_windows) | Text | 0 ms | 0 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
int main()
{
int N = 1000;
cout << N << "\n";
vector <pair <int, int> > res;
int cd = 0;
for (int i = 0; i < 7; i++)
{
int cjump = 1, ccnt = 1;
for (int j = 0; j < i; j++)
ccnt *= 3;
for (int j = i; j < 6; j++)
cjump *= 3;
for (int j = -ccnt / 2; j <= ccnt / 2; j++)
{
res.push_back(make_pair (cd, 500 + j * cjump));
}
cd += (cjump / 3);
}
for (int i = 0; i < 1000; i++)
cout << res[i].first + 1 << " " << res[i].second + 1 << "\n";
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
