結果

問題 No.374 コイン
ユーザー cewxn
提出日時 2016-07-30 01:00:59
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 354 bytes
コンパイル時間 450 ms
コンパイル使用メモリ 59,012 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 22:46:45
合計ジャッジ時間 1,382 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <iostream>
#include <string>
#include <algorithm>
typedef unsigned long long ull;
typedef long long ll;
using namespace std;
int main() {
	// 先手必勝
	ull A, B;
	cin >> A >> B;
	if (A < B) {
		cout << "K" << endl;
	}
	else {
		cout << "S" << endl;
	}
}
0