結果
問題 | No.2154 あさかつの参加人数 |
ユーザー |
![]() |
提出日時 | 2024-09-01 14:02:04 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 461 ms / 2,000 ms |
コード長 | 171 bytes |
コンパイル時間 | 379 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 97,800 KB |
最終ジャッジ日時 | 2024-09-01 14:02:20 |
合計ジャッジ時間 | 15,141 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
n,m=map(int,input().split())q=[0]*nfor i in range(m):l,r=map(int,input().split())q[-l]+=1if r>1:q[-r+1]-=1for i in range(n-1):q[i+1]+=q[i]print(*q,sep="\n")