結果
問題 |
No.98 円を描こう
|
ユーザー |
👑 |
提出日時 | 2020-02-19 19:09:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 183 bytes |
コンパイル時間 | 832 ms |
コンパイル使用メモリ | 67,712 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-08 14:05:23 |
合計ジャッジ時間 | 1,096 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | WA * 6 |
ソースコード
#include <iostream> #include <cmath> using namespace std; #define EPS (1e-10) int main(){ int a,b;cin>>a>>b; int n = ceil(sqrt((a*a)+(b*b))+EPS); cout << n << endl; }