結果

問題 No.881 sin(x)/xの和
ユーザー convexineqconvexineq
提出日時 2019-09-07 16:29:03
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 249 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-21 08:02:28
合計ジャッジ時間 1,701 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
# Your code here!

import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline 

from math import pi
n = int(input())
ans = 0
for i in range(n):
    x,a = [float(i) for i in readline().split()]
    ans += a
print(ans*pi)


0