From fc8c1e6b20af4deb3fe755d776216d040a1621d2 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Tue, 25 Mar 2014 02:41:54 +0000 Subject: Fix bugs in score file. Preparing for assessment mode. --- scorec.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'scorec.h') diff --git a/scorec.h b/scorec.h index ed4a1b7..e5ceb9a 100644 --- a/scorec.h +++ b/scorec.h @@ -49,14 +49,14 @@ void Putint(int a) void Putll(unsigned long long a) { unsigned long long c1,c2,c3,c4,c5,c6,c7,c8; - c1=a&0xFF00000000000000;c1>>=44LL; - c2=a&0x00FF000000000000;c2>>=40LL; - c3=a&0x0000FF0000000000;c3>>=36LL; - c4=a&0x000000FF00000000;c4>>=32LL; - c5=a&0x00000000FF000000;c5>>=24LL; - c6=a&0x0000000000FF0000;c6>>=16LL; - c7=a&0x000000000000FF00;c7>>=8LL; - c8=a&0x00000000000000FF; + c1=a&0xFF00000000000000LL;c1>>=44LL; + c2=a&0x00FF000000000000LL;c2>>=40LL; + c3=a&0x0000FF0000000000LL;c3>>=36LL; + c4=a&0x000000FF00000000LL;c4>>=32LL; + c5=a&0x00000000FF000000LL;c5>>=24LL; + c6=a&0x0000000000FF0000LL;c6>>=16LL; + c7=a&0x000000000000FF00LL;c7>>=8LL; + c8=a&0x00000000000000FFLL; printf("%c%c%c%c%c%c%c%c",(int)c1,(int)c2,(int)c3,(int)c4,(int)c5,(int)c6,(int)c7,(int)c8); } TRecord GetTRecord() -- cgit v1.2.3