結果
問題 |
No.83 最大マッチング
|
ユーザー |
|
提出日時 | 2022-01-26 19:30:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 5,000 ms |
コード長 | 198 bytes |
コンパイル時間 | 328 ms |
コンパイル使用メモリ | 82,136 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-12-23 13:26:30 |
合計ジャッジ時間 | 1,570 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import sys def input(): return sys.stdin.readline().rstrip() def main(): N = int(input()) print('1'*(N//2) if N % 2 == 0 else '7'+'1'*((N-3)//2)) if __name__ == '__main__': main()