SPJ转C++

希望有大佬把这段奇怪的SPJ转成C++,谢谢!

%:include"testlib.h"
unsigned y=19260817U,Y=3454609757U,z=897344247U,Z=4275706529U,b,t=100;
void f()<%b=(y<<6^y)>>13,y=(y&4294967294U)<<18^b,b=(Y<<2^Y)>>27,Y=(Y&4294967288U)<<2^b;%>
void F()<%b=(z<<13^z)>>21,z=(z&4294967280U)<<7^b,b=(Z<<3^Z)>>12,Z=(Z&4294967168U)<<13^b;%>
int R(int a)<%for(int i=1;i<=t;i++)f(),F(),a^=y^Y^z^Z;return a<0?-a:a;%>
int main(int m,char**M)<%registerTestlibCmd(m,M),t=R(ouf.readInt())%101,t==100?quitf(_ok,""):quitp(t/100.0,"");%>

 

上一篇:数据库系统概论第五版第二章答案王珊


下一篇:Rust 使用声明宏替类(struct)添加反射信息