U364270 羊了个羊Plus

题目背景

# 完全隐私可以去完隐通道交,不然可能会不算的喵 羊了个羊快把你搞疯了,于是你想写随机数通关。 然后各位大厨激情烹饪。 完隐通道: --- ### 羊了个羊排行榜 [$\texttt{xujunlang2011}(原羊了个羊作者)$](https://www.luogu.com.cn/user/738893) $60pts$ [$\texttt{Yun\_Mengxi}(作者)$](/user/758416) $60pts$ [$\texttt{ULSG\_XBaiC}$](https://www.luogu.com.cn/user/925577) $60pts$ [$\texttt{Sythergy}$](https://www.luogu.com.cn/user/676668) $60pts$ [$\texttt{Mr\_Gengar}$](/user/661135) $60pts$ [$\texttt{long\_long\_\_int }$](/user/741314) $60pts$ $\texttt{羊了个羊排行榜可以私信}$ [$\texttt{Yun\_Mengxi}$](https://www.luogu.com.cn/chat?uid=758416) $\texttt{更改}$ --- ### 已加入羊群 无。 --- ### 里程碑: 2023-9-22:[原羊了个羊](https://www.luogu.com.cn/paste/7b6tzxhi)因特殊原因被隐藏。 2023-9-28:羊了个羊Plus横空出世,比原羊了个羊更难。 2023-9-28:[原羊了个羊](https://www.luogu.com.cn/problem/U249638)复活了。 2023-10-3:提交过 2.0k。

题目描述

前 $10$ 个点的答案是 $1$,中间 $10$ 个点的答案是 $2$,最后 $10$ 个点的答案是 $3$,在每个分块中间有一个测试点,答案为 $4$。 总分数为: $3\times 10+5+3\times 10+5+3\times 10=100$。 ### 官方代码 ```cpp #include #include #include using namespace std; int main() { int a = 1, b = 4; srand((unsigned)time(NULL)); cout

输入格式

没有输入。

输出格式

输出 $1\sim 4$ 之间的数。