結果
問題 | No.374 コイン |
ユーザー |
![]() |
提出日時 | 2016-06-04 22:34:58 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 651 bytes |
コンパイル時間 | 1,628 ms |
コンパイル使用メモリ | 157,796 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 22:38:22 |
合計ジャッジ時間 | 2,333 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h>using namespace std;typedef long long ll; typedef long double ld;typedef vector<int> vi; typedef vector<ll> vl; typedef vector<bool> vb;typedef vector<double> vd;typedef vector<vd> vvd;#define REP(i,n) for(ll i=0; i < (n); ++i)#define FOR(i,s,e) for (ll i = s; i < (ll)e; i++)#define TEN(x) ((ll)1e##x)#define ALL(v) (v).begin(), (v).end()int main() {#ifdef _WIN32ifstream cin("sample.in");ofstream cout("sample.out");#endifcin.tie(0); // cinとcoutの連携を切るios_base::sync_with_stdio(false);cout << fixed << setprecision(50);ll a, b; cin >> a >> b;cout << (a < b ? "K" : "S") << endl;}