Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7474 | 赖梓乐 | 12满足条件的四位数 | C++ | Wrong Answer | 3 MS | 256 KB | 673 | 2025-04-26 20:58:41 |
#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,d,q,w,e,r,f; //cin>>s; //for(;s<=d;s++,int a){ // r=a%10 //e=a/10%10 //w=a/100%100 //q=a/1000%10; //} int n,temp,cnt=0; cin>>n; for(int i=1;i<=n;i++){ cin>>temp; int f=temp%10; int g=temp/10%10; int h=temp/100%10; int x=temp/1000%10; } cout<<cnt; return 0; }
------Input------
71 5052 5818 4231 4925 8320 4972 7813 4649 7718 5729 4771 3943 6159 4758 5282 3850 2290 5495 5597 4396 4945 7178 3290 6324 3447 4212 7765 7009 4200 6539 8178 3014 2378 7548 5602 2638 7059 2294 7759 2018 3939 5039 3091 3624 1915 4197 5774 3094 3230 3199 8023 9743 5031 7173 1213 9565 8779 5981 3246 1065 6472 3592 3759 8767 3966 3284 8437 9325 2061 2955 6316
------Answer-----
3
------Your output-----
0