結果

問題 No.3049 Yes
ユーザー square1001square1001
提出日時 2019-04-01 23:12:27
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 1,413 ms / 2,000 ms
コード長 260 bytes
コンパイル時間 3,680 ms
実行使用メモリ 3,012 KB
スコア 0
最終ジャッジ日時 2019-04-01 23:12:32
ジャッジサーバーID
(参考情報)
judge8 /
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,413 ms
3,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <ctime>
#include <iostream>
using namespace std;
int main() {
	srand((unsigned)time(NULL));
	int c = 2;
	while(clock() < 1.4 * CLOCKS_PER_SEC) c = 2 * c % 1000000007;
	if(rand() % 3 == 0) cout << ":(" << endl;
	else cout << "Yes" << endl;
	return 0;
}
0