結果

問題 No.98 円を描こう
ユーザー RinRin
提出日時 2015-09-05 17:43:54
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 219 bytes
コンパイル時間 32 ms
コンパイル使用メモリ 5,220 KB
実行使用メモリ 11,872 KB
最終ジャッジ日時 2023-09-26 08:49:19
合計ジャッジ時間 902 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,620 KB
testcase_01 AC 17 ms
11,676 KB
testcase_02 AC 17 ms
11,640 KB
testcase_03 AC 17 ms
11,708 KB
testcase_04 AC 17 ms
11,712 KB
testcase_05 AC 17 ms
11,872 KB
testcase_06 AC 18 ms
11,656 KB
testcase_07 AC 17 ms
11,704 KB
testcase_08 AC 17 ms
11,732 KB
testcase_09 AC 17 ms
11,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (System.out.println x)
  (begin
    (display x)
    (newline)
  )
)

(let (
      (X (read))
      (Y (read))
     )
  (System.out.println (inexact->exact (+ (floor (* (sqrt (+ (expt X 2) (expt Y 2))) 2)) 1)))
)
0