結果
問題 |
No.331 CodeRunnerでやれ
|
ユーザー |
![]() |
提出日時 | 2019-08-15 17:05:00 |
言語 | C (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 370 bytes |
コンパイル時間 | 398 ms |
コンパイル使用メモリ | 28,032 KB |
実行使用メモリ | 87,304 KB |
平均クエリ数 | 0.06 |
最終ジャッジ日時 | 2024-07-16 17:54:29 |
合計ジャッジ時間 | 8,142 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 |
other | AC * 1 -- * 15 |
ソースコード
// yukicoder: No.331 CodeRunnerでやれ // bal4u 2019.8.15 #include <stdio.h> #include <stdlib.h> int action(char ch) { char s[20]; if (ch) { putchar(ch), putchar('\n'); fflush(stdout); } scanf("%s", s); if (*s == 'M') exit(0); return atoi(s); } int main() { int d = action(0); while (1) { if (d == 0) action('L'); else action('F'); } return 0; }