結果
| 問題 |
No.374 コイン
|
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2025-04-19 19:34:46 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 1,001 bytes |
| コンパイル時間 | 1,349 ms |
| コンパイル使用メモリ | 153,940 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2025-04-19 19:34:49 |
| 合計ジャッジ時間 | 2,466 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
#define LL long long
#define ULL unsigned long long
#define r(n) for (int i(1); i <= (n); ++i)
#define R(i, n) for (int i(1); i <= (n); ++i)
#define L(i, x, y) for (int i(x); i <= (y); ++i)
#define D(i, y, x) for (int i(y); i >= (x); --i)
#define Tie \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0)
int max(register const int a, register const int b)
{
register const int x(a), y(b);
return x > y ? x : y;
}
int min(register const int a, register const int b)
{
register const int x(a), y(b);
return x > y ? y : x;
}
const int N = 1e3 + 10;
const int MOD = 1e9 + 7;
const int INF = numeric_limits<int>::max();
int a, b;
signed main()
{
#ifdef ONLINE_JUDGE
// freopen(".in", "r", stdin);
// freopen(".out", "w", stdout);
#endif
Tie;
cin >> a >> b;
if (a < b)
cout << 'K';
else
cout << 'S';
return 0;
}
vjudge1