結果

問題 No.331 CodeRunnerでやれ
ユーザー krotonkroton
提出日時 2015-12-20 16:35:40
言語 C++11
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 299 bytes
コンパイル時間 671 ms
コンパイル使用メモリ 52,912 KB
実行使用メモリ 24,072 KB
平均クエリ数 2.82
最終ジャッジ日時 2023-09-23 22:30:20
合計ジャッジ時間 8,606 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
23,880 KB
testcase_01 AC 153 ms
24,072 KB
testcase_02 AC 163 ms
7,880 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

const string goal = "Merry Christmas!";

int main(){
  string s;
  while(cin >> s){
    if(s == goal){
      break;
    }
    int n = atoi(s.c_str());
    if(n == 0){
      cout << "L" << endl;
    } else {
      cout << "F" << endl;
    }
  }
  return 0;
}
0