提出 #12160597


ソースコード 拡げる

#include <iostream>
#include <vector>
#include <limits.h>
#include <algorithm>
#include <string>
#include <math.h>
#include <limits.h>
#include <queue>
#include <map>
#include <set>
#include <iomanip>
#include <bitset>
#include <cassert>
#include <random>
#include <functional>
#include <stack>
#include <iomanip>
#include <cassert>
//#include <boost/multiprecision/cpp_int.hpp>
#include <complex>
#include <cstdio>
#include <list>
#include <bitset>

//< in.txt > out.txt
using namespace std;
//std::ios::sync_with_stdio(false);
//std::cin.tie(0);
const long long MOD = 998244353;
const long long INF = 1e18;
typedef long long LL;
typedef long double LD;
typedef pair<LL, LL> PLL;
typedef pair<LD, LL> pdl;
typedef pair<LD, LD> pdd;
typedef vector<LL> VLL;
typedef vector<VLL> VVLL;
typedef unsigned long long ULL;
//typedef boost::multiprecision::cpp_int bigint;

int main() {
	std::ios::sync_with_stdio(false);
	std::cin.tie(0);
	LL R;
	cin >> R;
	cout << setprecision(12) << 2 * R * 3.14159265 << "\n";
	return 0;
}

提出情報

提出日時
問題 A - Circle Pond
ユーザ ano3
言語 C++ (Clang 10.0.0)
得点 100
コード長 1067 Byte
結果 AC
実行時間 8 ms
メモリ 3236 KiB

コンパイルエラー

./Main.cpp:29:17: warning: unused variable 'MOD' [-Wunused-const-variable]
const long long MOD = 998244353;
                ^
./Main.cpp:30:17: warning: unused variable 'INF' [-Wunused-const-variable]
const long long INF = 1e18;
                ^
2 warnings generated.

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 12
セット名 テストケース
Sample s1.txt, s2.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, s1.txt, s2.txt
ケース名 結果 実行時間 メモリ
01.txt AC 8 ms 3092 KiB
02.txt AC 2 ms 3028 KiB
03.txt AC 2 ms 3072 KiB
04.txt AC 2 ms 3020 KiB
05.txt AC 2 ms 3128 KiB
06.txt AC 3 ms 3112 KiB
07.txt AC 1 ms 3076 KiB
08.txt AC 2 ms 3028 KiB
09.txt AC 2 ms 3128 KiB
10.txt AC 2 ms 3224 KiB
s1.txt AC 2 ms 3052 KiB
s2.txt AC 2 ms 3236 KiB