結果

問題 No.331 CodeRunnerでやれ
ユーザー motimoti
提出日時 2015-12-24 00:33:24
言語 C++11
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 1,038 bytes
コンパイル時間 966 ms
コンパイル使用メモリ 97,600 KB
実行使用メモリ 84,552 KB
最終ジャッジ日時 2023-09-23 22:38:00
合計ジャッジ時間 13,820 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
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>
#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;

#define input(x, in) { int i=-1; for(;i<0||in[i]>='0' && in[i]<='9';) { if(i+1)x = 10 * x + in[i] - '0'; in[++i] = getchar_unlocked(); } in[i+in[i]=='M'] = 0; }

int main() {

  char in_[50];
  while(1) {
    int x = 0;
    input(x, in_); if(in_[0]=='M') { exit(0); }
    puts(x ? "F" : "L");
  }

  return 0;
}
0