結果

問題 No.374 コイン
ユーザー 向井利春向井利春
提出日時 2023-10-12 17:01:08
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 2,102 bytes
コンパイル時間 2,146 ms
コンパイル使用メモリ 162,636 KB
実行使用メモリ 4,356 KB
最終ジャッジ日時 2023-10-12 17:01:15
合計ジャッジ時間 3,067 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 AC 1 ms
4,352 KB
testcase_02 AC 2 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 1 ms
4,348 KB
testcase_05 AC 1 ms
4,352 KB
testcase_06 AC 2 ms
4,348 KB
testcase_07 AC 2 ms
4,348 KB
testcase_08 AC 1 ms
4,352 KB
testcase_09 AC 1 ms
4,348 KB
testcase_10 AC 2 ms
4,352 KB
testcase_11 AC 1 ms
4,352 KB
testcase_12 AC 1 ms
4,348 KB
testcase_13 AC 2 ms
4,348 KB
testcase_14 AC 2 ms
4,352 KB
testcase_15 AC 2 ms
4,356 KB
testcase_16 AC 1 ms
4,352 KB
testcase_17 AC 2 ms
4,352 KB
testcase_18 AC 2 ms
4,352 KB
testcase_19 AC 2 ms
4,348 KB
testcase_20 AC 1 ms
4,348 KB
testcase_21 AC 1 ms
4,348 KB
testcase_22 AC 2 ms
4,352 KB
testcase_23 AC 1 ms
4,348 KB
testcase_24 AC 1 ms
4,348 KB
testcase_25 AC 1 ms
4,348 KB
testcase_26 AC 1 ms
4,348 KB
testcase_27 AC 2 ms
4,352 KB
testcase_28 AC 1 ms
4,348 KB
testcase_29 AC 2 ms
4,348 KB
testcase_30 AC 1 ms
4,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#pragma region header
#include <bits/stdc++.h>
  // #include <boost/dynamic_bitset.hpp>
  //   using namespace boost;
  // #include<boost/multiprecision/cpp_int.hpp> 
  //   using namespace boost::multiprecision;
  #define int long long
  #define double long double
#ifdef LOCAL
  #include <debug_print.hpp>
  #define debug(...) debug_print::multi_print(#__VA_ARGS__, __VA_ARGS__)
#else
  #define debug(...) (static_cast<void>(0))
#endif
#define REP(i,n) for (int i = 0; (i) < (int)(n); ++(i))
#define REP3(i,m,n) for (int i = (m); (i) < (int)(n); ++(i))
#define ALL(x) begin(x), end(x)
using namespace std;
using Int = long long;
using VI = vector<int>; using VVI = vector<vector<int>>;
using P = pair<int,int>; using TR = tuple<int,int,int>;
template <class T> using V = vector<T>;
template <class T> bool chmin(T& a, const T& b) {return a>b ? a=b, true : false;}
template <class T> bool chmax(T& a, const T& b) {return a<b ? a=b, true : false;}
template <class T> void in(T& x){cin >> x;}
template <class T> void in(vector<T>& X){for(auto& x:X) cin>>x;}
template <class T> void in(vector<vector<T>>& X){for(auto& x:X) in(x);}
template <class H, class... T> void in(H&& head, T&&... tail){in(head); in(tail...);}
struct input {template<class T>operator T(){T t; cin >> t; return t;}};
bool _fst=false; void _spc(){if(_fst) _fst=false;else cout<<" ";}
template <class T> void _out(T x){_spc(); cout<<x;}
template <class T> void _out(vector<vector<T>>& X){
  for(auto x:X){for(auto y:x) _out(y);cout<<"\n";_fst=true;}}
template <class T> void _out(vector<T>& X){for(auto x:X) _out(x);}
void __out() {cout<<"\n";}
template <class H, class... T> void __out(H&& hd, T&&... tl){_out(hd); __out(move(tl)...);}
void out() {cout<<"\n";}
template <class H, class... T> 
  void out(H&& head, T&&... tail){_fst=true; _out(head); __out(move(tail)...);}
const long long INF = (long long)1.1e18; const int inf=(int)2e9;
struct aaa{aaa(){cin.tie(0);ios::sync_with_stdio(0);cout<<fixed<<setprecision(10);};}aaaaa;
#pragma endregion header

signed main() {
  int a,b;
  in(a,b);
  if (a<b) out("K");
  else out("S");
}
0