結果

問題 No.1986 Yummy
ユーザー siganaisiganai
提出日時 2022-06-25 18:43:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 302 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 82,032 KB
実行使用メモリ 65,444 KB
最終ジャッジ日時 2024-04-27 05:59:39
合計ジャッジ時間 2,644 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
63,920 KB
testcase_01 AC 57 ms
63,900 KB
testcase_02 AC 56 ms
64,080 KB
testcase_03 AC 60 ms
64,284 KB
testcase_04 AC 56 ms
64,280 KB
testcase_05 AC 55 ms
64,476 KB
testcase_06 AC 55 ms
64,040 KB
testcase_07 AC 56 ms
63,696 KB
testcase_08 AC 55 ms
63,872 KB
testcase_09 AC 55 ms
63,932 KB
testcase_10 AC 56 ms
64,896 KB
testcase_11 AC 56 ms
64,156 KB
testcase_12 AC 56 ms
64,412 KB
testcase_13 AC 55 ms
64,428 KB
testcase_14 AC 55 ms
64,368 KB
testcase_15 AC 57 ms
64,948 KB
testcase_16 AC 56 ms
64,220 KB
testcase_17 AC 56 ms
64,208 KB
testcase_18 AC 55 ms
65,144 KB
testcase_19 AC 56 ms
64,544 KB
testcase_20 AC 57 ms
63,800 KB
testcase_21 AC 55 ms
64,492 KB
testcase_22 AC 55 ms
63,796 KB
testcase_23 AC 56 ms
64,756 KB
testcase_24 AC 56 ms
65,444 KB
testcase_25 AC 56 ms
63,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter, defaultdict, deque
import itertools
import re
import math
from functools import reduce
import operator
import bisect
from heapq import *
import functools
mod=998244353

import sys
input=sys.stdin.readline
n = int(input())
if n % 2:
    print(1)
else:
    print(n // 2)
0