結果
問題 | No.212 素数サイコロと合成数サイコロ (2) |
ユーザー | tanimani364 |
提出日時 | 2021-03-29 17:55:33 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 144 ms / 5,000 ms |
コード長 | 337 bytes |
コンパイル時間 | 1,831 ms |
コンパイル使用メモリ | 86,424 KB |
実行使用メモリ | 81,112 KB |
最終ジャッジ日時 | 2023-08-19 16:19:22 |
合計ジャッジ時間 | 2,944 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 144 ms
80,712 KB |
testcase_01 | AC | 135 ms
81,112 KB |
testcase_02 | AC | 144 ms
80,728 KB |
testcase_03 | AC | 139 ms
80,776 KB |
testcase_04 | AC | 136 ms
80,520 KB |
testcase_05 | AC | 135 ms
80,820 KB |
testcase_06 | AC | 138 ms
80,816 KB |
testcase_07 | AC | 142 ms
80,764 KB |
testcase_08 | AC | 139 ms
80,956 KB |
testcase_09 | AC | 140 ms
80,732 KB |
ソースコード
#!/usr/bin/env python3 #coding:utf-8 import math import string import random import heapq from sys import stdin # import numpy as np # from matplotlib import pyplot as plt def main(): read=stdin.readline #edit here! p,c=map(int,read().split()) ans=(pow(41,p)*pow(49,c))/pow(6,p+c) print(ans) if __name__ == '__main__': main()