結果

問題 No.374 コイン
ユーザー vjudge1
提出日時 2025-04-18 15:31:36
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 241 bytes
コンパイル時間 4,225 ms
コンパイル使用メモリ 207,168 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-18 15:31:44
合計ジャッジ時間 5,357 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define int long long
using namespace std;

void sol(){
	int a,b;
	cin>>b>>a;
	a*=2;
	if((b/a)%2==1) cout<<"S";
	else cout<<"K";
}
signed main(){
//	freopen(".in","r",stdin);
//	freopen(".out","w",stdout); 
	sol();
}
0