結果
問題 | No.1519 Diversity |
ユーザー |
![]() |
提出日時 | 2021-05-28 20:51:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 105 ms / 2,000 ms |
コード長 | 210 bytes |
コンパイル時間 | 361 ms |
コンパイル使用メモリ | 82,396 KB |
実行使用メモリ | 81,140 KB |
最終ジャッジ日時 | 2024-11-07 08:24:49 |
合計ジャッジ時間 | 2,646 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 15 |
ソースコード
N=int(input())E=[]S=list(range(N))S[-1]-=1for i in range(N):for j in range(S[i]):S[-j-1]-=1if i+1==N-j:breakE.append((i+1,N-j))print(len(E))for i in range(len(E)):print(*E[i])