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/alg/dp/sort2_fn.py

Required by

Verified with

Code

import cp_library.alg.dp.__header__

def sort2(a, b):
    return (a,b) if a < b else (b,a)
'''
╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸
             https://kobejean.github.io/cp-library               
'''

def sort2(a, b):
    return (a,b) if a < b else (b,a)
Back to top page