提交时间:2023-10-05 22:56:31

运行 ID: 105275

#include<bits/stdc++.h> using namespace std; namespace Fast{ //注:快读快写与CCF函数不能一起用,不然可能会趋势 inline int fr(){ register int x = 0,f = 1; static char c = getchar(); while (c < '0' || c > '9'){ if (c == '-'){ f = -1; } c = getchar(); } while (c >= '0' && c <= '9'){ x = (x << 1) + (x << 3) + (c ^ 48); c = getchar(); } return x * f; } inline void fw(int x){ if (x == 0){ putchar('0'); return ; } if (x < 0){ putchar('-'); x = -x; } stack <char> s; while (x){ s.push(x % 10 + 48); x /= 10; } while (!s.empty()){ putchar(s.top()); s.pop(); } } inline void DEBUG(){ puts("awa"); } inline void CCF(){ //原来想叫CINCOUTFASTER的结果发现缩写竟然是CCF(doge) ios::sync_with_stdio(false); cin.tie(0),cout.tie(0); } } using namespace Fast; signed main(){ cout<<"618\n"; cout<<"753\n"; cout<<"294\n"; cout<<"\n"; cout<<"816\n"; cout<<"357\n"; cout<<"492\n"; cout<<"\n"; cout<<"672\n"; cout<<"159\n"; cout<<"834\n"; cout<<"\n"; cout<<"834\n"; cout<<"159\n"; cout<<"672\n"; cout<<"\n"; cout<<"276\n"; cout<<"951\n"; cout<<"438\n"; cout<<"\n"; cout<<"438\n"; cout<<"951\n"; cout<<"276\n"; cout<<"\n"; cout<<"294\n"; cout<<"753\n"; cout<<"618\n"; cout<<"\n"; cout<<"492\n"; cout<<"357\n"; cout<<"816\n"; cout<<"\n"; cout<<"8\n"; return 0; }