Submission #48735788


Source Code Expand

#include <bits/stdc++.h>

using namespace std;

// bool in_mass(int x, int y, int w, int h)
// { return x >= 0 && y >= 0 && x < w && y < h; }

// const int dx[8] = {0, 0, -1, 1, 1, 1, -1, -1};
// const int dy[8] = {-1, 1, 0, 0, -1, 1, 1, -1};

int main() {
    int b, g;
    cin >> b >> g;

    if(b > g) {
        cout << "Bat" << endl;
    } else {
        cout << "Glove" << endl;
    }

    return 0;
}

Submission Info

Submission Time
Task A - Christmas Present
User nnth_y
Language C++ 20 (gcc 12.2)
Score 100
Code Size 429 Byte
Status AC
Exec Time 1 ms
Memory 3652 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 12
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt
All 00_sample_00.txt, 00_sample_01.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 02_minmax_00.txt, 02_minmax_01.txt, 03_handmade_00.txt, 03_handmade_01.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 3500 KiB
00_sample_01.txt AC 1 ms 3460 KiB
01_random_00.txt AC 1 ms 3372 KiB
01_random_01.txt AC 1 ms 3452 KiB
01_random_02.txt AC 1 ms 3456 KiB
01_random_03.txt AC 1 ms 3492 KiB
01_random_04.txt AC 1 ms 3368 KiB
01_random_05.txt AC 1 ms 3464 KiB
02_minmax_00.txt AC 1 ms 3492 KiB
02_minmax_01.txt AC 1 ms 3576 KiB
03_handmade_00.txt AC 1 ms 3652 KiB
03_handmade_01.txt AC 1 ms 3372 KiB