結果
問題 | No.374 コイン |
ユーザー |
![]() |
提出日時 | 2016-06-05 23:59:37 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 669 bytes |
コンパイル時間 | 1,049 ms |
コンパイル使用メモリ | 99,408 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 22:43:30 |
合計ジャッジ時間 | 1,812 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <iostream> #include <cstdio> #include <cassert> #include <cstring> #include <vector> #include <valarray> #include <array> #include <queue> #include <set> #include <unordered_set> #include <map> #include <unordered_map> #include <algorithm> #include <cmath> #include <complex> #include <random> using namespace std; using ll = long long; using ull = unsigned long long; constexpr int TEN(int n) {return (n==0)?1:10*TEN(n-1);} bool solve(ll a, ll b) { if (b > a) return false; return true; } int main() { ll a, b; cin >> a >> b; if (solve(a, b)) { cout << "S" << endl; } else { cout << "K" << endl; } return 0; }