| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 150265 | USA1 (#200) | Windows Icon Manager (FXCUP4_windows) | Text | 0 ms | 0 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;
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... | ||||
