結果

問題 No.756 チャンパーノウン定数 (1)
ユーザー pekempey
提出日時 2018-12-04 00:39:54
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 830 ms
コンパイル使用メモリ 27,904 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-05 08:43:17
合計ジャッジ時間 1,017 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void) {
  int d;
  scanf("%d", &d);
  printf("%d\n", d < 10 ? d : d % 2 == 0 ? d / 20 + 1 : (d - 10) / 2 % 10);
  return 0;
}
0