statistics.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:eoj3 作者: ultmaster 项目源码 文件源码
def invalidate_user(user_id, contest_id=0):
    cache.delete_many([USER_TOTAL_COUNT.format(user=user_id, contest=contest_id),
                       USER_TOTAL_LIST.format(user=user_id, contest=contest_id),
                       USER_AC_COUNT.format(user=user_id, contest=contest_id),
                       USER_AC_DIFF_COUNT.format(user=user_id, contest=contest_id),
                       USER_AC_LIST.format(user=user_id, contest=contest_id)])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号