#include <iostream>
#include <string>
using namespace std;
int main() {
int n, u; // n为剩余天数,u为总单元数
cin >> n >> u;
// 计算复习进度
int reviewed = min(n, u); // 每天复习1个单元,最多复习n天或u个单元
int remaining = u - reviewed; // 剩余未复习的单元数
// 计算分数
double score;
if (remaining == 0) { // 复习完所有单元
score = 100.0; // 全能模式
} else if (remaining == 2) { // 差2个单元
score = 51.15926; // 战神模式
} else { // 差2个以上
score = 0.15926; // 裸考模式
}
// 输出结果
if (score == 100.0) {
cout << "西嘉佳" << endl;
} else {
cout << "C";
for (int i = 0; i < int(score); i++) { // 输出分数对应的'+'号
cout << "+";
}
cout << endl;
}
return 0;
}
题目传送门(U527307)