結果
| 問題 |
No.105 arcの六角ボルト
|
| コンテスト | |
| ユーザー |
kaiyori_lab
|
| 提出日時 | 2014-12-17 00:34:23 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 461 bytes |
| コンパイル時間 | 2,358 ms |
| コンパイル使用メモリ | 153,728 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-06-12 01:49:33 |
| 合計ジャッジ時間 | 2,542 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;
import std.math;
void main(){
auto n = readln.chomp.to!int;
string[] res;
foreach(i; 0..n){
readln;
double[][] bolt;
foreach(j; 0..6){ bolt ~= readln.chomp.split(" ").map!(to!double).array; }
auto maxX = bolt.map!(e => e[0]).reduce!max;
res ~= "%.15f".format(acos(maxX) * 180 / PI);
}
foreach(ans; res){ans.writeln;}
}
kaiyori_lab