結果
問題 | No.98 円を描こう |
ユーザー |
![]() |
提出日時 | 2019-12-15 14:57:43 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 151 bytes |
コンパイル時間 | 135 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-02 18:14:07 |
合計ジャッジ時間 | 667 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 |
ソースコード
#include <stdio.h>#include <math.h>int main() {int xp, yp;scanf("%d %d", &xp, &yp);printf("%d\n", (int)(hypot(xp, yp)*2+1));return 0;}