結果
| 問題 | No.331 CodeRunnerでやれ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-12-20 17:01:14 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
|
| 実行時間 | 2,547 ms / 5,000 ms |
| + 39µs | |
| コード長 | 464 bytes |
| 記録 | |
| コンパイル時間 | 283 ms |
| コンパイル使用メモリ | 74,640 KB |
| 実行使用メモリ | 6,016 KB |
| 平均クエリ数 | 99906.12 |
| 最終ジャッジ日時 | 2026-08-14 17:06:40 |
| 合計ジャッジ時間 | 13,341 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 16 |
ソースコード
#include <iostream>
using namespace std;
const string goal = "Merry Christmas!";
int main(){
string s;
while(getline(cin, s)){
if(s == goal){
break;
}
int n = atoi(s.c_str());
if(n == 0){
cout << "L" << endl;
continue;
}
cout << "R" << endl;
int m;
cin >> m;
if(m > 0){
cout << "F" << endl;
} else {
cout << "L" << endl;
cin >> m;
cout << "F" << endl;
}
}
return 0;
}