結果

問題 No.906 Y字グラフ
ユーザー 👑 emthrmemthrm
提出日時 2019-10-11 22:22:57
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 69 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 11,508 KB
実行使用メモリ 15,344 KB
最終ジャッジ日時 2023-08-16 18:32:38
合計ジャッジ時間 3,807 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 68 ms
15,044 KB
testcase_02 WA -
testcase_03 AC 69 ms
15,184 KB
testcase_04 AC 68 ms
15,288 KB
testcase_05 AC 71 ms
15,116 KB
testcase_06 AC 67 ms
15,048 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 67 ms
15,108 KB
testcase_10 AC 67 ms
15,280 KB
testcase_11 AC 67 ms
15,320 KB
testcase_12 AC 68 ms
15,052 KB
testcase_13 WA -
testcase_14 AC 67 ms
15,156 KB
testcase_15 AC 67 ms
15,344 KB
testcase_16 WA -
testcase_17 AC 67 ms
15,048 KB
testcase_18 AC 67 ms
15,088 KB
testcase_19 AC 69 ms
15,084 KB
testcase_20 AC 67 ms
15,048 KB
testcase_21 WA -
testcase_22 AC 69 ms
15,144 KB
testcase_23 AC 68 ms
15,152 KB
testcase_24 AC 67 ms
15,272 KB
testcase_25 AC 66 ms
15,044 KB
testcase_26 AC 69 ms
15,272 KB
testcase_27 WA -
testcase_28 AC 67 ms
15,236 KB
testcase_29 AC 66 ms
15,252 KB
testcase_30 AC 66 ms
15,132 KB
testcase_31 AC 66 ms
15,228 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.chop.to_i
print(((n - 1) * (n - 1) / 12).round % 1000000007)
0