結果
問題 |
No.374 コイン
|
ユーザー |
![]() |
提出日時 | 2025-04-20 21:13:42 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 513 bytes |
コンパイル時間 | 1,820 ms |
コンパイル使用メモリ | 160,448 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-04-20 21:13:45 |
合計ジャッジ時間 | 2,991 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> #define int long long //#define USE_FREOPEN //#define MUL_TEST #define FILENAME "coin" using namespace std; void solve() { int a,b; cin >> a >> b; if (a < b) cout << "K\n"; else cout << "S\n"; } signed main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); #ifdef USE_FREOPEN freopen(FILENAME ".in","r",stdin); freopen(FILENAME ".out","w",stdout); #endif int _ = 1; #ifdef MUL_TEST cin >> _; #endif while (_--) solve(); _^=_; return 0^_^0; }