結果
問題 |
No.374 コイン
|
ユーザー |
|
提出日時 | 2023-10-12 17:01:08 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 2,102 bytes |
コンパイル時間 | 1,692 ms |
コンパイル使用メモリ | 165,308 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 15:36:17 |
合計ジャッジ時間 | 2,621 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#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"); }