結果
問題 | No.791 うし数列 |
ユーザー |
|
提出日時 | 2019-02-22 22:51:42 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 220 bytes |
コンパイル時間 | 456 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-25 17:24:31 |
合計ジャッジ時間 | 1,378 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
#!/usr/bin/python2 # -*- coding: utf-8 -*- # † def f(N): x = 13 for i in xrange(1, 110): if x == N: return i x = x * 10 + 3 return -1 N = int(raw_input()) res = f(N) print res