题目输入 $\LaTeX$
查看原帖
题目输入 $\LaTeX$
672281
InversionShadow楼主2023/1/30 11:34

题目输入 LaTeX\LaTeX 炸了。

所以我修了一下 LaTeX\LaTeX

效果:

输入格式

The first line contains four integers nn , xx , yy , pp ( 1<=n<=106,0<=x,y<=1018,x+y>0,2<=p<=1091<=n<=10^{6},0<=x,y<=10^{18},x+y\gt0,2<=p<=10^{9} ) which represent the number of mushrooms, the number of minutes after the first replanting, the number of minutes after the second replanting and the module. The next line contains nn integers aia_{i} which represent the mushrooms' weight in the non-decreasing order ( 0<=ai<=1090<=a_{i}<=10^{9} ).

Please, do not use %lld specificator to read or write 64-bit integers in C++. It is preffered to use cin (also you may use %I64d).

源码:

## 输入格式

The first line contains four integers $ n $ , $ x $ , $ y $ , $ p $ ( $ 1<=n<=10^{6},0<=x,y<=10^{18},x+y\gt0,2<=p<=10^{9} $ ) which represent the number of mushrooms, the number of minutes after the first replanting, the number of minutes after the second replanting and the module. The next line contains $ n $ integers $ a_{i} $ which represent the mushrooms' weight in the non-decreasing order ( $ 0<=a_{i}<=10^{9} $ ).

Please, do not use %lld specificator to read or write 64-bit integers in C++. It is preffered to use cin (also you may use %I64d).

2023/1/30 11:34
加载中...