結果

問題 No.8029 素因数
ユーザー IL_msta
提出日時 2017-04-01 02:15:29
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 332 bytes
コンパイル時間 367 ms
コンパイル使用メモリ 54,640 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-07 15:07:46
合計ジャッジ時間 1,285 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace::std;
int main(void){
	long long M;
	std::cin >> M;
	long long NH = 17763568394002504;
	long long EE =                 10000000000000000;
	long long NL =					6467781066894531;
	
	int ans = ((NH%M)+(EE%M)+(NL%M))%M;
	if( ans%2 == 0 ){
		cout << "even" << endl;
	}else{
		cout << "odd" << endl;
	}
}
0