This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#include <bits/stdc++.h>
using namespace std;
int main() {
//第10天 10个
//第9天 20个 2份,吃掉1份,剩1份,剩那份是10个,吃掉的也是10个
//第8天 30个 3份,吃掉1份,剩2份,吃掉的也是10个。
//第7天 40个 4份,吃掉1份,剩3份,吃掉的也是10个,就是每天吃10个,
int sum = 0;
for (int i = 10; i > 0; i--) {
sum += 10;
}
cout << sum << endl;
return 0;