Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
19991 陈路垚 奇怪的数 C++ Accepted 100 0 MS 252 KB 287 2021-05-27 20:57:37

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { // freopen("x12_5.in","r",stdin); // freopen("x12_5.out","w",stdout); long long x,i,ans,t=1,xx,tot=0; for(i=2;i<=19&&tot<2;i++){ xx=2*t-8; if(xx%13==0){ cout<<xx/13*10+6<<" "; tot++; } t=t*10; } }


Judgement Protocol: