結果
| 問題 | No.72 そろばん Med | 
| コンテスト | |
| ユーザー |  koyopro | 
| 提出日時 | 2015-09-23 00:36:19 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 12 ms / 5,000 ms | 
| コード長 | 139 bytes | 
| コンパイル時間 | 227 ms | 
| コンパイル使用メモリ | 7,168 KB | 
| 実行使用メモリ | 6,400 KB | 
| 最終ジャッジ日時 | 2024-11-21 11:49:08 | 
| 合計ジャッジ時間 | 1,350 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 24 | 
ソースコード
# -*- coding: utf-8 -*- n, = map(long, raw_input().split()) top = n / 2 bottom = n - top; print (top * (bottom + 1) + bottom) % 1000007
