結果
問題 |
No.331 CodeRunnerでやれ
|
ユーザー |
![]() |
提出日時 | 2015-12-24 00:16:16 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 1,135 bytes |
コンパイル時間 | 1,049 ms |
コンパイル使用メモリ | 103,364 KB |
実行使用メモリ | 90,084 KB |
平均クエリ数 | 2.47 |
最終ジャッジ日時 | 2024-07-16 08:11:08 |
合計ジャッジ時間 | 9,716 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 2 TLE * 1 -- * 13 |
ソースコード
#include <iostream> #include <algorithm> #include <cmath> #include <vector> #include <complex> #include <queue> #include <deque> #include <set> #include <map> #include <unordered_set> #include <unordered_map> #include <iomanip> #include <assert.h> #include <array> #include <cstdio> #include <cstring> #include <random> #include <functional> #include <numeric> #include <bitset> using namespace std; #define REP(i,a,b) for(int i=a;i<(int)b;i++) #define rep(i,n) REP(i,0,n) #define all(c) (c).begin(), (c).end() #define zero(a) memset(a, 0, sizeof a) #define minus(a) memset(a, -1, sizeof a) #define minimize(a, x) a = std::min(a, x) #define maximize(a, x) a = std::max(a, x) typedef long long ll; int const inf = 20151224; int in; void isover(string const& in_) { if(in_ == "Merry Christmas!") { exit(0); } in = stoi(in_); } int main() { string in_; while(1) { cin >> in_; isover(in_); if(0 < in && in < inf) { cout << "F" << endl; cout << flush; } else if(in == 0) { cout << "L" << endl; cout << flush; } else { cout << "F" << endl; cout << flush; } } return 0; }