結果
問題 | No.331 CodeRunnerでやれ |
ユーザー | kroton |
提出日時 | 2015-12-20 16:39:15 |
言語 | C++11 (gcc 11.4.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 306 bytes |
コンパイル時間 | 438 ms |
コンパイル使用メモリ | 52,944 KB |
実行使用メモリ | 88,876 KB |
平均クエリ数 | 2.47 |
最終ジャッジ日時 | 2023-09-23 22:30:51 |
合計ジャッジ時間 | 8,269 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 152 ms
24,228 KB |
testcase_01 | AC | 146 ms
23,784 KB |
testcase_02 | AC | 152 ms
23,536 KB |
testcase_03 | TLE | - |
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 | -- | - |
ソースコード
#include <iostream> using namespace std; const string goal = "Merry Christmas!"; int main(){ string s; while(getline(cin, s)){ if(s == goal){ break; } int n = atoi(s.c_str()); if(n == 0){ cout << "L" << endl; } else { cout << "F" << endl; } } return 0; }