結果
問題 | No.1472 作為の和 |
ユーザー |
|
提出日時 | 2021-04-09 22:37:55 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 383 bytes |
コンパイル時間 | 221 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-25 06:15:58 |
合計ジャッジ時間 | 1,047 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#!/usr/bin/env python3# from typing import *# def solve(N: int) -> Tuple[int, int]:def solve(n):if n == 0:return 9, 1else:return 8 + 9 * 2 * n, 1# 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()