Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
140398 岑思烁 15听到多少次掌声 C++ Accepted 0 MS 264 KB 226 2025-12-14 11:53:44

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=0,b=0,c=0; int i=1,n=0; while(i<=10){ a++; if(a>1)a=1; n++; b++; if(b>2)b=1; n++; if(c==4)c=1; i++; } cout<<n; return 0; }