結果
問題 | No.2700 Please Hack Greedy Solution! |
ユーザー |
![]() |
提出日時 | 2024-03-29 21:23:15 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 47 ms / 500 ms |
コード長 | 179 bytes |
コンパイル時間 | 329 ms |
コンパイル使用メモリ | 82,612 KB |
実行使用メモリ | 64,888 KB |
最終ジャッジ日時 | 2025-01-06 11:34:33 |
合計ジャッジ時間 | 707 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
result=[0]*(1001) result[1]=1000 result[1000]=1000**2-1 for x in range(999,1,-1): result[x]=result[x+1]-result[1]-1 print(1000,1000) for i in range(1,1001): print(result[i],i)