結果

問題 No.72 そろばん Med
ユーザー smiken_61
提出日時 2015-10-11 21:18:29
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 544 ms
コンパイル使用メモリ 63,904 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-21 06:55:00
合計ジャッジ時間 1,529 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <map>
#include <string>
using namespace std;



int main() {
	long long a;
	cin >> a;
	cout << ((a - a / 2 + 1) % 1000007 )*((a / 2 + 1) % 1000007 - 1)% 1000007 << endl;
}
0