結果

問題 No.331 CodeRunnerでやれ
ユーザー yuppe19 😺yuppe19 😺
提出日時 2015-12-24 00:56:30
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 612 bytes
コンパイル時間 448 ms
コンパイル使用メモリ 59,188 KB
実行使用メモリ 24,448 KB
平均クエリ数 1.00
最終ジャッジ日時 2023-09-23 08:26:49
合計ジャッジ時間 4,917 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
#include <algorithm>
using namespace std;
using i64 = long long;

class range {private: struct I{int x;int operator*(){return x;}bool operator!=(I& lhs){return x<lhs.x;}void operator++(){++x;}};I i,n;
public:range(int n):i({0}),n({n}){}range(int i,int n):i({i}),n({n}){}I& begin(){return i;}I& end(){return n;}};

const int inf = 20151224;
void output(char ch) {
  putchar(ch);
  putchar('\n');
  fflush(stdout);
}

int main(void) {
  string s; getline(cin, s);
  if(s == "Merry Christmas!") { return 0; }
  int x = stoi(s);
  if(x > 0) { output('F'); }
  else { output('L'); }
  return 0;
}
0