結果
問題 | No.976 2 の 128 乗と M |
ユーザー |
![]() |
提出日時 | 2020-02-04 22:08:53 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 614 bytes |
コンパイル時間 | 271 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-21 07:46:09 |
合計ジャッジ時間 | 2,885 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 50 |
ソースコード
#import pysnooper #import numpy #import os,re,sys,operator #from collections import Counter,deque #from operator import itemgetter,mul #from itertools import accumulate,combinations,groupby,combinations_with_replacement,permutations from sys import stdin,setrecursionlimit #from bisect import bisect_left,bisect_right #from copy import deepcopy #import heapq #import math #import string #from time import time #from functools import lru_cache,reduce #from math import factorial,hypot #import sys #from fractions import gcd setrecursionlimit(10**6) input=stdin.readline m=int(input().rstrip()) print(pow(2,128,m))