結果

問題 No.80 四角形を描こう
ユーザー kokoa1046kokoa1046
提出日時 2017-09-08 02:02:52
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 25 ms / 5,000 ms
コード長 175 bytes
コンパイル時間 27 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 16,128 KB
最終ジャッジ日時 2024-04-25 02:24:35
合計ジャッジ時間 783 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 23 ms
15,872 KB
testcase_01 AC 21 ms
16,128 KB
testcase_02 AC 19 ms
15,872 KB
testcase_03 AC 19 ms
16,000 KB
testcase_04 AC 23 ms
16,000 KB
testcase_05 AC 21 ms
15,872 KB
testcase_06 AC 25 ms
16,000 KB
testcase_07 AC 20 ms
16,128 KB
testcase_08 AC 21 ms
16,128 KB
testcase_09 AC 20 ms
16,000 KB
testcase_10 AC 20 ms
16,000 KB
testcase_11 AC 20 ms
16,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define n (read))
(if(= (remainder n 4)0) (print (/(* n n)16) )(if (= (remainder n 4)1)(print (*(quotient n 4) (quotient n 4))) (print (*(quotient n 4)  (+(quotient n 4)1)))))
0