結果

問題 No.192 合成数
コンテスト
ユーザー 158b
提出日時 2015-05-24 11:30:01
言語 C++11
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 321 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 579 ms
コンパイル使用メモリ 85,908 KB
実行使用メモリ 7,976 KB
最終ジャッジ日時 2026-04-24 05:10:01
合計ジャッジ時間 2,710 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <limits.h>
#include <vector>
#include <numeric>
using namespace std;

// AC→大吉
// WA→凶
// TLE→地球滅亡

int main(){
	int n;
	cin >> n;
	
	srand(time(NULL));
	
	cout << rand() % 201 + ( n - 100) << endl;
	return 0;
}
0