結果
| 問題 |
No.374 コイン
|
| コンテスト | |
| ユーザー |
hogeover30
|
| 提出日時 | 2016-06-04 22:29:26 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 224 bytes |
| コンパイル時間 | 615 ms |
| コンパイル使用メモリ | 62,464 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-08 08:28:41 |
| 合計ジャッジ時間 | 1,720 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 WA * 4 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
long a, b; cin>>a>>b;
if (a<b) {
cout<<"K"<<endl;
}
else if (3*b>a) {
cout<<"S"<<endl;
}
else {
cout<<"K"<<endl;
}
}
hogeover30