結果

問題 No.1390 Get together
ユーザー matriematrie
提出日時 2021-02-12 21:34:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 393 ms
コンパイル使用メモリ 10,620 KB
実行使用メモリ 13,160 KB
最終ジャッジ日時 2023-09-27 03:08:45
合計ジャッジ時間 5,830 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
12,284 KB
testcase_01 AC 16 ms
7,928 KB
testcase_02 AC 16 ms
7,792 KB
testcase_03 AC 93 ms
7,820 KB
testcase_04 AC 66 ms
7,796 KB
testcase_05 WA -
testcase_06 AC 67 ms
7,744 KB
testcase_07 WA -
testcase_08 AC 65 ms
7,896 KB
testcase_09 AC 109 ms
7,800 KB
testcase_10 AC 16 ms
7,752 KB
testcase_11 WA -
testcase_12 AC 16 ms
7,928 KB
testcase_13 WA -
testcase_14 AC 15 ms
7,852 KB
testcase_15 AC 17 ms
7,824 KB
testcase_16 WA -
testcase_17 TLE -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m=map(int,input().split())
a=0
C=[]
for i in range(n):
	b,c=map(int,input().split())
	if c in C:a+=1
	else:C.append(c)
print(a)
0