2021CCPC湘潭全国邀请赛-C-Calculate
2021 CCPC 湘潭全国邀请赛-C-Calculate水一水,题目链接(HDU 6940):这是链接题面You are given 4 positive integers x1,x2,y1,y2. Now you need to calculate∑i=x1x2∑j=y1y2(⌊ix1⌋+⌊x2i⌋+⌊jy1⌋+⌊y2j⌋)2\sum_{i=x1}^{x2}\sum_{j=y1}^{y2}(\lfloor \frac{i}{x1}\rfloor+\lfloor \frac{x2}{i}\rflo
原创
2021-07-18 20:53:57 ·
652 阅读 ·
1 评论