結果
問題 |
No.2052 Indegree
|
ユーザー |
![]() |
提出日時 | 2022-08-23 13:44:20 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 131 bytes |
コンパイル時間 | 787 ms |
コンパイル使用メモリ | 81,844 KB |
実行使用メモリ | 54,132 KB |
最終ジャッジ日時 | 2024-10-10 21:17:23 |
合計ジャッジ時間 | 1,923 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 |
ソースコード
N,M=map(int,input().split()) ans=[1 for i in range(N)] for i in range(M): A,B=map(int,input().split()) ans[B-1]=0 print(sum(ans))