結果
| 問題 |
No.906 Y字グラフ
|
| コンテスト | |
| ユーザー |
simamumu
|
| 提出日時 | 2019-10-11 22:27:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 391 bytes |
| コンパイル時間 | 241 ms |
| コンパイル使用メモリ | 82,688 KB |
| 実行使用メモリ | 70,528 KB |
| 最終ジャッジ日時 | 2024-11-25 08:18:36 |
| 合計ジャッジ時間 | 3,744 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 21 WA * 7 |
ソースコード
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)
simamumu