結果
問題 |
No.374 コイン
|
ユーザー |
![]() |
提出日時 | 2018-05-20 17:02:38 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 305 bytes |
コンパイル時間 | 120 ms |
コンパイル使用メモリ | 27,776 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 14:43:12 |
合計ジャッジ時間 | 1,142 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 WA * 5 |
ソースコード
#include<stdio.h> int main(void){ unsigned int table_r, coin_r, num_of_sheets; scanf("%u %u", &table_r, &coin_r); num_of_sheets = table_r / coin_r; if(num_of_sheets != 0){ if(num_of_sheets%2 == 0){ printf("K\n"); }else{ printf("S\n"); } }else{ printf("K\n"); } return 0; }