Submission #1811039


Source Code Expand

def main():
    N,A,B = map(int,input().split())
    ANS = N % (A+B)
    if ANS <= A or N <= A:
        print("Ant")
    else:
        print("Bug")

if __name__ == '__main__':
    main()

Submission Info

Submission Time
Task A - 小石を取るゲーム
User zaraki11
Language Python (3.4.3)
Score 0
Code Size 195 Byte
Status WA
Exec Time 18 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
AC × 2
AC × 13
WA × 2
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All sample_01.txt, sample_02.txt, subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt
Case Name Status Exec Time Memory
sample_01.txt AC 18 ms 2940 KB
sample_02.txt AC 18 ms 2940 KB
subtask1_01.txt AC 18 ms 2940 KB
subtask1_02.txt AC 18 ms 2940 KB
subtask1_03.txt WA 18 ms 2940 KB
subtask1_04.txt AC 18 ms 2940 KB
subtask1_05.txt WA 18 ms 2940 KB
subtask1_06.txt AC 18 ms 2940 KB
subtask1_07.txt AC 18 ms 2940 KB
subtask1_08.txt AC 17 ms 2940 KB
subtask1_09.txt AC 18 ms 2940 KB
subtask1_10.txt AC 18 ms 2940 KB
subtask1_11.txt AC 18 ms 2940 KB
subtask1_12.txt AC 18 ms 2940 KB
subtask1_13.txt AC 18 ms 2940 KB