結果

問題 No.1009 面積の求め方
ユーザー MaboyMaboy
提出日時 2021-09-11 17:32:46
言語 Swift
(5.10.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 8,776 ms
コンパイル使用メモリ 148,952 KB
実行使用メモリ 13,988 KB
最終ジャッジ日時 2023-09-05 05:16:19
合計ジャッジ時間 10,989 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
13,576 KB
testcase_01 AC 6 ms
13,256 KB
testcase_02 AC 6 ms
13,604 KB
testcase_03 AC 6 ms
13,392 KB
testcase_04 AC 6 ms
13,280 KB
testcase_05 AC 6 ms
13,136 KB
testcase_06 AC 6 ms
13,384 KB
testcase_07 AC 6 ms
13,312 KB
testcase_08 AC 6 ms
13,988 KB
testcase_09 AC 6 ms
13,336 KB
testcase_10 AC 6 ms
13,388 KB
testcase_11 AC 6 ms
13,568 KB
testcase_12 AC 5 ms
13,372 KB
testcase_13 AC 5 ms
13,568 KB
testcase_14 AC 6 ms
13,592 KB
testcase_15 AC 6 ms
13,724 KB
testcase_16 AC 5 ms
13,544 KB
testcase_17 AC 6 ms
13,772 KB
testcase_18 AC 6 ms
13,928 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import Foundation
var n = readLine()?.split(separator: " ").map{Double($0)!}
print(pow((n![1] - n![0]),3.0) / 6.0)
0