Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78362 田苒彤 15相同数的次数 C++ Accepted 0 MS 260 KB 260 2024-06-18 19:45:40

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ int ci,cxs=0; int xt=0,xl=0; while(ci<1000){ ci++; xt++; xl++; if(xt==21){ xt=1; } if(xl==31){ xl=1; } if(xt==xl){ cxs++; } } cout<<cxs; return 0; }