結果

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

ソースコード

diff #

#include <iostream>
using namespace std;
typedef long long int ll;
int main(){
	ll n;	cin>>n;
	cout<<(((n+1)/2+1)*(n/2+1)-1)%1000007<<endl;
	return 0;
}
0