Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122547 刘益梵 15相同数的次数 C++ Wrong Answer 0 MS 260 KB 235 2025-06-21 11:09:29

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=1,b=1,s=0,c=1; while(true){ if(a==b) s+=1; if(c==1000) return 0; if(a==20) a=0; if(b==30) b=0; a+=1; b+=1; c+=1; } cout<<s; return 0; }


Run Info:

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