荣誉资质

a_MengBier

类别:荣誉资质 日期:2024-03-12 12:00:19
我要分享
 1 #include <bits/stdc++.h>
 2 #include <windows.h>
 3 using namespace std;
 4 int main(){
 5     bool boolnum=0;
 6     char charnum=100;
 7     int integer=0;
 8     short shortnum=1;
 9     unsigned uninteger=2;
10     SYSTEMTIME sys_time;
11     GetLocalTime( &sys_time );
12     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
13     for(register int i=1;i<=1000000000;++i) boolnum=-boolnum+integer;//1
14     
15     GetLocalTime( &sys_time );
16     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
17     for(register int i=1;i<=1000000000;++i) charnum=charnum+shortnum-1;
18     
19     GetLocalTime( &sys_time );
20     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
21     for(register int i=1;i<=1000000000;++i) integer=-integer+shortnum+5;
22     
23     GetLocalTime( &sys_time );
24     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
25     for(register int i=1;i<=1000000000;++i) shortnum=-shortnum+6;
26     
27     GetLocalTime( &sys_time );
28     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
29     for(register int i=1;i<=1000000000;++i) uninteger=uninteger+6-shortnum;//5
30     
31     unsigned short unshortint=12;
32     long long longinteger=100;
33     unsigned long long unlongint=6;
34     float fnum=0.0299;
35     double doublefnum=0.001445;
36     long double lldnum=0.0008743;
37     
38     GetLocalTime( &sys_time );
39     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
40     for(register int i=1;i<=1000000000;++i) unshortint=boolnum+integer-unshortint;
41     
42     GetLocalTime( &sys_time );
43     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
44     for(register int i=1;i<=1000000000;++i) longinteger=-longinteger+integer-1;
45     
46     GetLocalTime( &sys_time );
47     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
48     for(register int i=1;i<=1000000000;++i) unlongint=unlongint+longinteger;//8
49     
50     GetLocalTime( &sys_time );
51     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
52     for(register int i=1;i<=1000000000;++i) fnum=-fnum+lldnum;
53     
54     GetLocalTime( &sys_time );
55     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
56     for(register int i=1;i<=1000000000;++i) doublefnum=-fnum+doublefnum+lldnum;
57     
58     GetLocalTime( &sys_time );
59     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
60     for(register int i=1;i<=1000000000;++i) lldnum=-lldnum+doublefnum+0.001;
61     
62     GetLocalTime( &sys_time );
63     printf( "%02d:%02d.%03d
",sys_time.wMinute, sys_time.wSecond,sys_time.wMilliseconds);
64 }

平台注册入口