{% macro submission_status(status, text='') %} {% set status_name = status.split(': ')[0] %} {% set status_text = text or status %} {% if status_name == 'Accepted' %} done {{ status_text }} {% elif status_name == 'WrongAnswer' %} clear {{ status_text }} {% elif status_name == 'RuntimeError' %} clear_all {{ status_text }} {% elif status_name == 'TimeLimitExceeded' %} access_time {{ status_text }} {% elif status_name == 'MemoryLimitExceeded' %} memory {{ status_text }} {% elif status_name == 'SystemError' %} clear_all {{ status_text }} {% elif status_name == 'Waiting...' %} hourglass_empty {{ status_text }} {% else %} Unknown {% endif %} {% endmacro %} {% macro render_submission(submission) %}
# | 题目 | 用户 | 状态 | 提交时间 | 时间 | 内存 |
---|