結果

問題 No.80 四角形を描こう
ユーザー kokoa1046kokoa1046
提出日時 2017-09-08 02:02:52
言語 Scheme
(Gauche-0.9.13)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 175 bytes
コンパイル時間 36 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 11,864 KB
最終ジャッジ日時 2023-08-07 08:18:43
合計ジャッジ時間 958 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,692 KB
testcase_01 AC 17 ms
11,828 KB
testcase_02 AC 17 ms
11,700 KB
testcase_03 AC 18 ms
11,860 KB
testcase_04 AC 18 ms
11,672 KB
testcase_05 AC 18 ms
11,864 KB
testcase_06 AC 17 ms
11,844 KB
testcase_07 AC 17 ms
11,700 KB
testcase_08 AC 17 ms
11,760 KB
testcase_09 AC 18 ms
11,844 KB
testcase_10 AC 17 ms
11,672 KB
testcase_11 AC 17 ms
11,672 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