ssl初一组周六模拟赛【2018.4.21】

前言

hzb大佬好强啊,hzb好强啊,大佬好强啊,好强啊,超级强的。
后面有惊喜
先说一下成绩:

姓名 成绩
zyc 390
hzb 360
lrz 340
xjq 310
xxy 300(话说原本是350)
wyc 290
hjq 230
lw 200

正题


题目1:ssl2402 世界语【水题】

水题
链接:
https://blog.csdn.net/mr_wuyongcong/article/details/80029554


题目2:ssl2403 蜡烛【贪心】

额…似乎不是很难
链接:
https://blog.csdn.net/mr_wuyongcong/article/details/80029608


题目3:ssl2404 上学【深度优先搜索】

看错题了qwq
链接:
https://blog.csdn.net/mr_wuyongcong/article/details/80029675


题目4:ssl2405 巧克力【实际上是模拟】

话说是离散,但是我觉得是模拟
链接:
https://blog.csdn.net/mr_wuyongcong/article/details/80029776


后续

这里奉上考试时打的拜神(膜拜大神)程序:

#include<cstdio>
#include<windows.h>
using namespace std;
int rp;
int main()
{
    rp=0;
    while (true)
    {
        printf("r");
        Sleep(3);
        printf("p");
        Sleep(4);
        printf("+");
        rp++;
        Sleep(5);
        printf("+");
        rp++;
        Sleep(6);
        printf("+");
        rp++;
        Sleep(7);
        printf("+");
        rp++;
        Sleep(8);
        printf("+");
        rp++;
        Sleep(9);
        printf("\n");
        if (rp%200==0) {
            printf("AK!");
            Sleep(50);
        }
    }
}

猜你喜欢

转载自blog.csdn.net/mr_wuyongcong/article/details/80029888
今日推荐