Submission #19546565


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;

int main() {
    vector<pair<int64_t, int64_t>> ans;

    constexpr int64_t a = 1;
    constexpr int64_t b = 10;
    constexpr int64_t c = 150;

    for (int64_t i = 0; i < 10; i++) {
        for (int64_t j = 0; j < 10; j++) {
            for (int64_t k = 0; k < 10; k++) {
                ans.emplace_back(i * a + j * b, j * b + k * c);
            }
        }
    }

    cout << ans.size() << endl;
    for (auto [x, y] : ans) {
        cout << x << " " << y << endl;
    }
}

Submission Info

Submission Time
Task B - Bowling
User tokumini
Language C++ (GCC 9.2.1)
Score 800
Code Size 546 Byte
Status AC
Exec Time 11 ms
Memory 3564 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 800 / 800
Status
AC × 1
AC × 1
Set Name Test Cases
Sample example0.txt
All example0.txt
Case Name Status Exec Time Memory
example0.txt AC 11 ms 3564 KB