結果

問題 No.331 CodeRunnerでやれ
ユーザー kroton
提出日時 2015-12-20 16:35:40
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 299 bytes
コンパイル時間 733 ms
コンパイル使用メモリ 56,040 KB
実行使用メモリ 94,424 KB
平均クエリ数 2.82
最終ジャッジ日時 2024-07-16 22:13:46
合計ジャッジ時間 8,531 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 2 TLE * 1 -- * 13
権限があれば一括ダウンロードができます

ソースコード

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