cp-library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub kobejean/cp-library

:heavy_check_mark: cp_library/bit/pack/pack_enc_fn.py

Verified with

Code

import cp_library.__header__
import cp_library.bit.__header__
import cp_library.bit.pack.__header__
def pack_enc(a: int, b: int, s: int): return a<<s|b
'''
╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸
             https://kobejean.github.io/cp-library               
'''


def pack_enc(a: int, b: int, s: int): return a<<s|b
Back to top page