結果
| 問題 |
No.172 UFOを捕まえろ
|
| コンテスト | |
| ユーザー |
latte0119
|
| 提出日時 | 2015-10-25 23:40:15 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 169 bytes |
| コンパイル時間 | 1,223 ms |
| コンパイル使用メモリ | 160,456 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-13 09:08:36 |
| 合計ジャッジ時間 | 2,097 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 2 WA * 19 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int x,y,r;
cin>>x>>y>>r;
double d=hypot(x,y)+r*sqrt(2);
cout<<ceil(d)<<endl;
return 0;
}
latte0119