摘要:
A. Heating Several days ago you bought a new house and now you are planning to start a renovation. Since winters in your region can be very cold you n 阅读全文
摘要:
int read() { char ch = getchar(); int flag = 1 , ans = 0; while(ch<'0' || ch>'9') if(ch=='-') flag = -1 , ch=getchar(); while(ch>='0' && ch<='9') ans 阅读全文
摘要:
图论爆锤场! 在热身赛的时候 A回文 B ? 某次CF题?FFT? Bitset? , 嗯 ,这场似乎很Boss C,感觉在哪个 oj 见过, D,模拟?不应该呀,不然怎么会没人A 呢。 开始感觉有点不对,果然,一段时间后榜单开始分区块 赛后,某群,B题Bitset,听说D题有人暴力打表,还A 了, 阅读全文
摘要:
standard output The main road in Bytecity is a straight line from south to north. Conveniently, there are coordinates measured in meters from the sout 阅读全文
摘要:
output standard output Andryusha goes through a park each day. The squares and paths between them look boring to Andryusha, so he decided to decorate 阅读全文
摘要:
A. Changing Volume Bob watches TV every day. He always sets the volume of his TV to bb. However, today he is angry to find out someone has changed the 阅读全文
摘要:
Our beloved detective, Sherlock is currently trying to catch a serial killer who kills a person each day. Using his powers of deduction, he came to kn 阅读全文
摘要:
Sherlock has a new girlfriend (so unlike him!). Valentine's day is coming and he wants to gift her some jewelry. He bought n pieces of jewelry. The i- 阅读全文
摘要:
A. Single Push You're given two arrays a[1…n]a[1…n] and b[1…n]b[1…n], both of the same length nn. In order to perform a push operation, you have to ch 阅读全文
摘要:
Let us define a magic grid to be a square matrix of integers of size n×nn×n, satisfying the following conditions. All integers from 00 to (n2−1)(n2−1) 阅读全文