yayalong's picture
Add files using upload-large-folder tool
1e71a55 verified
Raw
History Blame Contribute Delete
449 Bytes
"""Submission entry point for ATEC Task E.
The judging server imports `solution.AlgSolution`, so keep this tiny wrapper in
place and put the actual ACT/XSA implementation in `solution_act.py`.
"""
import os
import sys
_DEMO_DIR = os.path.dirname(os.path.abspath(__file__))
if _DEMO_DIR not in sys.path:
sys.path.insert(0, _DEMO_DIR)
try:
from .solution_act import AlgSolution
except ImportError:
from solution_act import AlgSolution