結果
| 問題 |
No.98 円を描こう
|
| コンテスト | |
| ユーザー |
latte0119
|
| 提出日時 | 2015-04-30 22:05:58 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 161 bytes |
| コンパイル時間 | 1,292 ms |
| コンパイル使用メモリ | 157,920 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-05 17:15:07 |
| 合計ジャッジ時間 | 1,505 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 3 WA * 3 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
double x,y;
cin>>x>>y;
double h=hypot(x,y)+0.9999999999;
cout<<max(1,(int)h*2)<<endl;
}
latte0119