結果

問題 No.331 CodeRunnerでやれ
ユーザー yuppe19 😺
提出日時 2015-12-24 00:56:30
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 612 bytes
コンパイル時間 382 ms
コンパイル使用メモリ 57,608 KB
実行使用メモリ 25,856 KB
平均クエリ数 1.00
最終ジャッジ日時 2024-07-16 08:15:07
合計ジャッジ時間 4,567 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other AC * 1 WA * 15
権限があれば一括ダウンロードができます

ソースコード

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