「LCOI2022」Low Complexity Round I 新春欢乐赛

2022-01-29 14:00:00 ~ 2022-01-29 17:30:00

\def{\s}{2pt} \def{\t}{2pt} \mathclap{ \color{#ccc} \begin{array}{c:c|c:c|c:c|c:c|c:c|c:c|c:c|c:c|c:c|c:c|} \kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} &\kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} &\kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} &\kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} & \kern{\s} & \cr[\t]\hdashline \cr[\t]\hline \cr[\t]\hdashline \cr[\t]\hline \cr[\t] \end{array} } \def{\b}{-3pt} \mathclap{ \begin{aligned} \Huge \textrm{\color{FFd700}\texttt L\kern{-2px}\color{FFd700}\texttt o\kern{-2px}\color{FFd700}\texttt w } \textrm{\color{FFd700}\texttt C\kern{-2px}\color{FFc700}\texttt o\kern{-2px}\color{FFb600}\texttt m\kern{-2px}\color{FFa500}\texttt p\kern{-2px}\color{FF8400}\texttt l\kern{-2px}\color{FF6400}\texttt e\kern{-2px}\color{FF4300}\texttt x\kern{-2px}\color{FF2200}\texttt i\kern{-2px}\color{FF1000}\texttt t\kern{-2px}\color{FF0000}\texttt y \color{FF0000}\texttt R\kern{-2px}\color{FF0000}\texttt o\kern{-2px}\color{FF0000}\texttt u\kern{-2px}\color{FF0000}\texttt n\kern{-2px}\color{FF0000}\texttt d} \cr[-17pt] \huge\color{purple}\underline{\kern{176pt}} \cr[-13.3pt] \huge\color{purple}\underline{\kern{176pt}} \cr[5pt] \Huge\color{yellowgreen}\textrm{壹} \end{aligned} }

比赛公告

鉴于本比赛在春节前不久,题目较简单,但也有一定的思维难度,欢迎大家来此享受切题的快乐。

比赛时长:\texttt{3.5} 小时。

赛制:\texttt{IOI}

题目难度:绿题至紫题。

负责人:\texttt{peterwuyihong}

题目信息

\texttt{Problem number} \color{red}\texttt{A} \color{yellowgreen}\texttt{B} \color{purple}\texttt{C} \color{gold}\texttt{D}
\texttt{Name} \color{red}\texttt{Cow\ Insertion} \color{yellowgreen}\texttt{Cow\ Merger} \color{purple}\texttt{Cow Function} \color{gold}\texttt{Cow Dance}
\texttt{Problem by} \color{red}\texttt{zdcqwq2010} \color{yellowgreen}\texttt{冷月葬T魂} \color{purple}\texttt{peterwuyihong} \color{gold}\texttt{peterwuyihong}
\texttt{Check by} \color{red}\texttt{little\_cindy} \color{yellowgreen}\texttt{little\_cindy} \color{purple}\texttt{\_I°Fear} \color{gold}\texttt{蒋金洲}
\texttt{Std by} \color{red}\texttt{33DAI} \color{yellowgreen}\texttt{冷月葬T魂} \color{purple}\texttt{peterwuyihong} \color{gold}\texttt{peterwuyihong}
\texttt{Data by} \color{red}\texttt{little\_cindy} \color{yellowgreen}\texttt{冷月葬T魂} \color{purple}\texttt{peterwuyihong} \color{gold}\texttt{peterwuyihong}
\texttt{Solution by} \color{red}\texttt{little\_cindy} \color{yellowgreen}\texttt{little\_cindy} \color{purple}\texttt{peterwuyihong} \color{gold}\texttt{peterwuyihong}
\small\color{grey}\texttt{表格内容较长,请拖动观看}

均采用捆绑测试

其他链接

名称 链接
赛时答疑帖 \texttt{link}
赛后题解 \texttt{link}
知乎评价贴 \texttt{link}
题目难度民意调查 \texttt{link}

一些帮助

比赛中,确实有些题需要 \texttt{\_\_int128},以下提供两个快读方法。

  1. 标准版
  2. \texttt{peterwuyihong} 原创

\texttt{RMB} 奖励

一血(由 \texttt{little\_cindy} 提供)

\color{black}\texttt{Problem} \color{black}\texttt{Price}
\color{red}\texttt{A} \color{red}\texttt{2RMB}
\color{yellowgreen}\texttt{B} \color{yellowgreen}\texttt{2RMB}
\color{purple}\texttt{C} \color{purple}\texttt{3RMB}
\color{gold}\texttt{D} \color{gold}\texttt{3RMB}

第一位 \texttt{AK}\texttt{4RMB}

AK(由 \texttt{\_I°Fear} 提供)

若有 x\texttt{AK},则每人获得 \left\lfloor\dfrac{10}{x}\right\rfloor 元。如果超过 10 位则择前 10\texttt{AK}

抽奖(由 \texttt{\_I°Fear} 提供)

随机抽取 \texttt{5}分数大于等于 10 的用户,每人奖励 \texttt{2RMB}

#include<bits/stdc++.h>

using namespace std;

int x,n=5,seed;

signed main()
{
    srand(seed); //seed为T1首A者提交的时间
    scanf("%d",&x); //x为符合要求人数
    while(n--) printf("%d\n",rand()%(x-1)+1);
    printf("spare:%d\n",rand()%(x-1)+1); //备用项,仅在出现重复时使用
    return 0;
}

特殊排名(由 \texttt{little\_cindy} 提供)

114514 名分别获得 \texttt{1RMB}

备注:可以叠加,若比赛后72小时不领取视为放弃奖品

仅支持微信支付

最后希望题目能够进入主题库。