結果

問題 No.1285 ゴミ捨て
ユーザー vakelkvnawkl:vakelkvnawkl:
提出日時 2020-11-27 20:39:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 8,000 KB
最終ジャッジ日時 2023-10-01 04:22:02
合計ジャッジ時間 4,165 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,908 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 16 ms
7,948 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 200 ms
7,796 KB
testcase_08 WA -
testcase_09 AC 95 ms
7,868 KB
testcase_10 AC 176 ms
7,968 KB
testcase_11 AC 164 ms
7,824 KB
testcase_12 AC 125 ms
7,732 KB
testcase_13 AC 124 ms
7,808 KB
testcase_14 AC 189 ms
7,912 KB
testcase_15 AC 140 ms
7,808 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 89 ms
7,800 KB
testcase_20 WA -
testcase_21 AC 60 ms
7,776 KB
testcase_22 AC 209 ms
7,836 KB
testcase_23 AC 214 ms
7,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
flag0=0
flag1=0
for i in range(N):
	X = int(input())
	if X%2==0:
		flag0=1
	else:
		flag1=1

print(flag0+flag1)
0