| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 19879 | 杨竣周 | 幸运数字 | C++ | Compile Error | 0 | 0 MS | 0 KB | 476 | 2021-05-23 15:45:12 |
#include<bits/stdc++.h> using namespace std; int n,a,c; bool check(int x){ return (!x%4||!x%7||_77(x)||_44(x)); } bool _44(int x){ for(int i=0;i<=c;i++) if(!((x/(pow(10,i))44)%100)) return 1; return 0; } bool _77(int x){ for(int i=0;i<=c;i++) if(!((x/(pow(10,i))77)%100)) return 1; return 0; } int main(){ while(num){ c++; num/=10; } cin>>n; for(int i=1;i<=n;i++){ if() } return 0; }