結果

問題 No.2011 Arbitrary Mod (Hidden)
ユーザー platinumplatinum
提出日時 2022-04-27 16:28:57
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 557 bytes
コンパイル時間 1,939 ms
コンパイル使用メモリ 191,548 KB
最終ジャッジ日時 2025-01-28 22:04:09
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 43
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (int)(n); i++)

using namespace std;
using LL = long long;
using P = pair<int,int>;
using vv = vector<vector<int>>;
const int INF = (int)1e9;
const LL LINF = (LL)1e18;

const int d[4] = {3, 5, 17, 65537};

int main(){
	int n;
	cin >> n;
	int m = 16711935;
	cout << m << endl;
	cout << 1 << endl;
	/*
	for(int a = 20; a <= 5000; a++){
		int x = a * a - 398;
		rep(i,5){
			if(x % d[i] == 0){
				cout << a << " " << d[i] << endl;
				return 0;
			}
		}
	}
	cout << "OK" << endl;
	*/

	return 0;
}
0