結果
問題 | No.2052 Indegree |
ユーザー | lllllll88938494 |
提出日時 | 2022-09-12 10:31:36 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 216 bytes |
コンパイル時間 | 433 ms |
コンパイル使用メモリ | 86,988 KB |
実行使用メモリ | 79,032 KB |
最終ジャッジ日時 | 2023-08-19 14:30:14 |
合計ジャッジ時間 | 4,774 ms |
ジャッジサーバーID (参考情報) |
judge10 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 70 ms
71,204 KB |
testcase_01 | RE | - |
testcase_02 | AC | 69 ms
70,976 KB |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | AC | 71 ms
71,120 KB |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
testcase_13 | AC | 70 ms
71,340 KB |
testcase_14 | RE | - |
testcase_15 | AC | 70 ms
71,264 KB |
testcase_16 | AC | 70 ms
71,292 KB |
testcase_17 | AC | 72 ms
71,072 KB |
testcase_18 | RE | - |
testcase_19 | RE | - |
testcase_20 | RE | - |
testcase_21 | AC | 71 ms
71,292 KB |
ソースコード
n,m=map(int,input().split()) nyu=[[]for i in range(n)] for i in range(m): a,b= map(int,input().split()) nyu[b].append(a) cnt=0 for i in nyu: if len(i) == 0: cnt+= 1 print(cnt)