結果

問題 No.374 コイン
ユーザー Mcpu3Mcpu3
提出日時 2018-08-30 23:23:12
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 28,152 KB
実行使用メモリ 4,356 KB
最終ジャッジ日時 2023-10-11 21:47:07
合計ジャッジ時間 1,403 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <stdio.h>
#include <math.h>

int main(void)
{
    double a,b;
    scanf("%lf%lf",&a,&b);
    puts((long)(pow(a,2)*acos(-1)/pow(b*2,2))%2?"S":"K");
    return 0;
}
0