-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalid-test.input
65 lines (47 loc) · 1.08 KB
/
valid-test.input
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
var someItem;
someItem = 10+90;
struct RedTruck {
var strct_endlsBrkTest;
var strct_statmentTest;
var strct_assignTest;
var i;
i = 0;
strct_endlsBrkTest = (10 + 10 * (12-2)) + (7 + 3) * 10 + (((2+1)*10)+60);
strct_assignTest = 12;
strct_statmentTest = strct_endlsBrkTest * strct_assignTest;
}
var glob_endlsBrkTest;
glob_endlsBrkTest = (10 + 10 * (12-2)) + (7 + 3) * 10 + (((2+1)*10)+60);
var testStructAccessOne;
var testStructAccessTwo;
testStructAccessOne = RedTruck.strct_assignTest;
testStructAccessTwo = 10 + (RedTruck.strct_endlsBrkTest + 10) * 2;
var testFunctionOne;
testFunctionOne = pow(2,5) + pow(2,5);
var testFunctionTwo;
testFunctionTwo = fact(4) * 2 - fact(4);
var input_test;
write(input_test);
print(input_test);
print(1337);
var i;
i = 50;
while ( i > 0 ) {
print(i);
i = i - 1;
}
var cycle_one;
cycle_one = 5;
var cycle_two;
cycle_two = 10;
var cycle_three;
cycle_three = 15;
while ( cycle_one > 0 ) {
cycle_one = cycle_one - 1;
while ( cycle_two > 0 ) {
cycle_two = cycle_two - 1;
while ( cycle_three > 0 ) {
cycle_three = cycle_three - 1;
}
}
}