結果

問題 No.906 Y字グラフ
ユーザー simamumusimamumu
提出日時 2019-10-11 22:27:52
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 391 bytes
コンパイル時間 739 ms
コンパイル使用メモリ 87,468 KB
実行使用メモリ 81,120 KB
最終ジャッジ日時 2023-08-16 18:39:43
合計ジャッジ時間 7,159 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 152 ms
80,728 KB
testcase_01 AC 152 ms
80,864 KB
testcase_02 AC 154 ms
80,884 KB
testcase_03 AC 150 ms
80,864 KB
testcase_04 AC 154 ms
80,872 KB
testcase_05 AC 150 ms
80,760 KB
testcase_06 AC 155 ms
80,884 KB
testcase_07 AC 156 ms
80,800 KB
testcase_08 AC 155 ms
80,744 KB
testcase_09 AC 152 ms
80,932 KB
testcase_10 AC 153 ms
80,944 KB
testcase_11 AC 153 ms
80,808 KB
testcase_12 AC 153 ms
80,708 KB
testcase_13 AC 156 ms
80,944 KB
testcase_14 AC 156 ms
80,788 KB
testcase_15 AC 156 ms
80,620 KB
testcase_16 AC 154 ms
80,944 KB
testcase_17 AC 155 ms
80,776 KB
testcase_18 AC 154 ms
80,924 KB
testcase_19 AC 156 ms
80,740 KB
testcase_20 AC 154 ms
80,924 KB
testcase_21 AC 154 ms
80,732 KB
testcase_22 AC 155 ms
80,628 KB
testcase_23 AC 155 ms
80,748 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

print(round(pow(int(input())-1,2) / 12)%mod)
0