Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
140296 唐俊逸 15听到多少次掌声 C++ Wrong Answer 0 MS 272 KB 651 2025-12-13 19:03:55

Tests(0/1):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a=0,b=0,c=0,s=0,t=0,p=0; while(a+b+c<30){ if(a<10){ a++; p=1; } if(b<10&&t%2==0){ b++; p=1; } if(c<10&&t%4==0){ c++; p=1; } cout<<s; if(p==1) s++; t++; p=0; } cout<<s; return 0; }


Run Info:

------Input------
0
------Answer-----
20
------Your output-----
012345678910111112121313141415151616161617171717181818181919191920