#include using namespace std;

int main() {

bool has_clap[50] = {false};
int total = 0;

for (int i = 0; i < 12; i++) has_clap[i] = true;
for (int i = 0; i < 12; i++) has_clap[i*2] = true;
for (int i = 0; i < 12; i++) has_clap[i*3] = true;
for (int i = 0; i < 12; i++) has_clap[i*4] = true;

for (int i = 0; i <= 44; i++) {
    if (has_clap[i]) total++;
}

cout << total << endl;
return 0;

}

0 条评论

目前还没有评论...

信息

ID
715
时间
ms
内存
MiB
难度
2
标签
递交数
771
已通过
215
上传者