Submission #150265

# Submission time Handle Problem Language Result Execution time Memory
150265 2019-09-01T08:01:12 Z USA1(#3634, ecnerwala, scott_wu, ksun48) Windows Icon Manager (FXCUP4_windows) Text
0 / 100
0 ms 0 KB
#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
1 Incorrect 0 ms 0 KB Expected integer, but "#include" found