結果

問題 No.557 点対称
ユーザー yamanchu3776
提出日時 2017-08-22 16:39:04
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 372 bytes
コンパイル時間 702 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-15 04:21:50
合計ジャッジ時間 1,652 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <unordered_map>
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <list>
#include <map>
#include <iomanip>
#include <typeinfo>
#include <sstream>
#include <math.h>
using namespace std;

int main()
{
	int a;
	cin >> a;
	int b;
	b = 4 * pow(5,a/2-1);
	if( a % 2 == 1 )
	{
		b = b * 3;
	}
	b = b % 1000000007;
	cout << b << endl;
}
0