結果
| 問題 | No.605 板挟みの球面 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-12-05 02:00:46 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 1 ms / 2,000 ms | 
| コード長 | 139 bytes | 
| コンパイル時間 | 371 ms | 
| コンパイル使用メモリ | 48,000 KB | 
| 最終ジャッジ日時 | 2025-01-05 04:45:24 | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 4 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:6:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |   scanf("%lf%lf", &a, &b);
      |   ~~~~~^~~~~~~~~~~~~~~~~~
            
            ソースコード
#include <cmath>
#include <cstdio>
int main() {
  double a, b;
  scanf("%lf%lf", &a, &b);
  printf("%.10f\n", 2 * acos(-1.0) * (b - a));
}
            
            
            
        