Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
111504 谢佳辰 15相同数的次数 C++ Wrong Answer 0 MS 260 KB 274 2025-03-02 14:45:23

Tests(0/1):


Code:

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


Run Info:

------Input------
0
------Answer-----
340
------Your output-----
1001