| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143421 | 成书骏 | 18排列骨头 | C++ | Wrong Answer | 0 MS | 272 KB | 447 | 2026-01-14 19:01:51 |
#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 s=0,x,a[11]; for(int i=1;i<=10;i++){ cin>>a[i]; } cin>>x; for(int i=1;i<=10;i++){ if(30+x>=a[i]) s++; } cout<<s; return 0; }
------Input------
0
------Answer-----
1 2 3 4 10 11 13 14 15 17 20 21 25 28 29
------Your output-----
6