-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlalala.c0
102 lines (95 loc) · 1.55 KB
/
lalala.c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
int e=2, UPPER=1231231231312331312;
void main()
{
int number, test;
print("Input a number:");
scan(number);
test=power(number);
print(test);
if (test<UPPER)
print("less than upper_line",UPPER-test);
else
print("more than upper_line",test-UPPER);
print("Now we test the nagtive-parameter:");
print(power(-1));
}
double x;
const double a = 2;
int lalala(int num){
int lalala = 2;
if (num > 0){
num = num -1;
print(lalala(num));
}
return num * num;
}
double fun(int num) {
int rtv13 = num/2;
const int b = 4*lalala(2)+3*a;
;;;;;;;;;;;
//print(rtv13);
//print(b);
return rtv13 + 2.0;
}
void main() {
int y=0x63;
//int y = 1;
x = 7;
print('\r');
print("\x75\\1\n2\'3");
print(y);
//y = fun(x);
print(fun(x));
print(a);
if(a<0) // if1
if (a>0) // if2
print("lalala");
else // match if2
print("123");
else{
int i = 0;
do{
print("woshale",i);
i=i-1;
}
while(i>-100);
}
return;
}
*/
double i = 100;
int power(int x)
{
int result, i;
result=1;
if (x<=0)
return (0);
i=1;
while(i<=x)
{
result=result*i;
i=i+1;
}
return (result);
}
void main() {
/*
int y=0x63;
do{
i = i-1;
print("woshale",i);
//i=i+1;
}
while(i>95);
*/
//break;
while(i>95){
i = i-1;
print("woshale",i);
//continue;
break;
print("123");
}
return;
}