摘要:
DescriptionThe cows have been sent on a mission through space to acquire a new milking machine for their barn. They are flying through a cluster of st... 阅读全文
摘要:
DescriptionLacking even a fifth grade education, the cows are having trouble with a fraction problem from their textbook. Please help them. The proble... 阅读全文
摘要:
DescriptionThe best part of the day for Farmer John's cows is when the sun sets. They can see the skyline of the distant city. Bessie wonders how many... 阅读全文
摘要:
Description约翰想要计算他那N(1≤N≤1000)只奶牛的名字的能量.每只奶牛的名字由不超过1000个字待构成,没有一个名字是空字体串,约翰有一张“能量字符串表”,上面有M(1≤M≤100)个代表能量的字符串.每个字符串由不超过30个字体构成,同样不存在空字符串.一个奶牛的名字蕴含多少个能... 阅读全文
摘要:
DescriptionInput只有一行一个整数 N(0 int n,s;int main(){ scanf("%d",&n); for (int i=1;i<=n;i++) s+=n/i; printf("%d",s);} 阅读全文