結果

問題 No.3031 (物理学)長距離相互作用
ユーザー amuse mentamuse ment
提出日時 2023-08-08 18:16:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 294 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 43,808 KB
最終ジャッジ日時 2024-04-26 10:46:00
合計ジャッジ時間 6,871 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 RE -
testcase_02 WA -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 AC 519 ms
43,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

M_NaCl=1.7475645946
M_CsCl=1.7626747730
a000,a001,a010,a011,a100,a101,a110,a111=list(map(int,input().split()))
b111,b113,b131,b133,b311,b313,b331,b333=list(map(int,input().split()))
print(-(M_NaCl*(a011+a101+a110-a001-a010-a100)/3+M_CsCl*(3*a000+a001+a010+a100)/np.sqrt(3)))
0