結果
| 問題 |
No.881 sin(x)/xの和
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2019-09-07 16:29:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 249 bytes |
| コンパイル時間 | 98 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-21 08:02:30 |
| 合計ジャッジ時間 | 1,612 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
# 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)
convexineq