結果

問題 No.331 CodeRunnerでやれ
ユーザー sugim48sugim48
提出日時 2015-12-24 00:34:39
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 2,969 ms / 5,000 ms
コード長 830 bytes
コンパイル時間 704 ms
コンパイル使用メモリ 88,212 KB
実行使用メモリ 24,240 KB
平均クエリ数 27469.35
最終ジャッジ日時 2023-09-23 22:38:38
合計ジャッジ時間 25,081 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 157 ms
23,508 KB
testcase_01 AC 163 ms
23,400 KB
testcase_02 AC 428 ms
24,052 KB
testcase_03 AC 403 ms
24,196 KB
testcase_04 AC 508 ms
24,072 KB
testcase_05 AC 440 ms
24,048 KB
testcase_06 AC 514 ms
23,652 KB
testcase_07 AC 1,322 ms
23,368 KB
testcase_08 AC 453 ms
23,212 KB
testcase_09 AC 1,952 ms
23,884 KB
testcase_10 AC 440 ms
23,488 KB
testcase_11 AC 1,652 ms
23,892 KB
testcase_12 AC 1,838 ms
23,644 KB
testcase_13 AC 1,051 ms
23,688 KB
testcase_14 AC 2,433 ms
24,240 KB
testcase_15 AC 926 ms
23,260 KB
testcase_16 AC 2,969 ms
24,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _USE_MATH_DEFINES
#include <algorithm>
#include <cstdio>
#include <functional>
#include <iostream>
#include <cfloat>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <time.h>
#include <vector>
using namespace std;

typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> i_i;
typedef pair<ll, int> ll_i;
typedef pair<double, int> d_i;
typedef pair<ll, ll> ll_ll;
typedef pair<double, double> d_d;
struct edge { int u, v; ll w; };

ll MOD = 1000000007;
ll _MOD = 1000000009;
double EPS = 1e-10;

int main() {
	random_device rd;
	mt19937 mt(rd());
	for (;;) {
		cout << "FBLR"[mt() % 4] << endl;
		string s; cin >> s;
		if (s == "Merry") break;
	}
}
0