結果
問題 |
No.1472 作為の和
|
ユーザー |
|
提出日時 | 2021-04-09 22:31:57 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 417 bytes |
コンパイル時間 | 273 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-25 06:09:00 |
合計ジャッジ時間 | 891 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 9 |
ソースコード
#!/usr/bin/env python3 # from typing import * # def solve(N: int) -> Tuple[int, int]: def solve(n): if n == 0: return 9, 1 elif n == 1: return 18, 1 else: return 9 * 2 * n, 2 # generated by oj-template v4.7.2 (https://github.com/online-judge-tools/template-generator) def main(): N = int(input()) c, d = solve(N) print(c, d) if __name__ == '__main__': main()