Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
mjtest-tests
Commits
4da7c304
Commit
4da7c304
authored
Jan 24, 2022
by
Schaback
Browse files
moaoor
parent
753be286
Changes
4
Hide whitespace changes
Inline
Side-by-side
exec/AndiTest1.java
0 → 100644
View file @
4da7c304
class
a
{
public
static
void
main
(
String
[]
args
)
{
new
a
().
q
(
6
,-
7
,
8
,-
9
,
10
);
}
public
void
q
(
int
a
,
int
b
,
int
c
,
int
d
,
int
e
)
{
System
.
out
.
println
(
a
+
b
);
System
.
out
.
println
(
a
+
b
+
c
);
System
.
out
.
println
(
a
+
b
+
c
+
d
);
System
.
out
.
println
(
a
+
b
+
c
+
d
+
e
);
System
.
out
.
println
(
a
+
3
);
System
.
out
.
println
(
a
+
b
+
5
);
System
.
out
.
println
(
5
+(
a
+
c
));
System
.
out
.
println
(
a
*
4
);
System
.
out
.
println
(
a
*
5
);
System
.
out
.
println
((
a
+
b
)*
8
);
System
.
out
.
println
(
5
+(
b
*
4
+
c
));
System
.
out
.
println
(
5
+(
a
+
2
*
c
));
System
.
out
.
println
(
a
+(
b
*
2
+(
c
*
4
+
12
+
d
)));
System
.
out
.
println
(
4
*
d
+
2
*(
a
+
3
+
8
*(
b
+
c
*
4
)));
System
.
out
.
println
(
a
*
4
+
5
);
System
.
out
.
println
(
a
*
9
+
5
);
System
.
out
.
println
((
a
+
3
)+
5
);
System
.
out
.
println
(
a
*
2
-
5
);
System
.
out
.
println
(
a
*
2
+(-
5
));
}
}
exec/AndiTest2.java
0 → 100644
View file @
4da7c304
class
Test
{
public
static
void
main
(
String
[]
args
)
{
Test
test
=
new
Test
();
Test
result
=
test
.
run
();
if
(
result
==
null
)
System
.
out
.
println
(
1
);
else
System
.
out
.
println
(
0
);
}
public
Test
run
()
{
Test
[]
array
=
new
Test
[
536870912
+
1
];
/* no worries, if your OS is sane, memory won't be allocated until "touched" */
array
[
536870912
]
=
null
;
array
[
0
]
=
new
Test
();
return
array
[
536870912
];
/* 0x20000000 * 8, must not wrap around to 0 though */
}
}
exec/AndiTest3.java
0 → 100644
View file @
4da7c304
class
a
{
public
int
ignored
;
public
static
void
main
(
String
[]
args
)
{
new
a
().
q
();
if
(
new
a
().
c_false
())
{
int
[]
c_null
=
new
int
[-
1
];
a
o_null
=
null
;
System
.
out
.
println
(
c_null
[
0
]);
o_null
.
ignored
=
o_null
.
ignored
();
}
return
;
}
public
boolean
c_false
()
{
int
i
=
7
;
int
w
=
9
;
while
(
w
<
200
)
{
i
=
i
*
i
;
w
=
w
*
2
;
}
return
i
%
5
==
1
;
}
public
int
q
()
{
int
[]
c_null
=
new
int
[
0
];
a
o_null
=
null
;
if
(
c_false
())
{
int
[]
c_neg
=
new
int
[-
32
];
int
y
=
c_null
[
0
];
c_neg
[
0
]
=
c_null
[
0
]
+
o_null
.
ignored
+
o_null
.
ignored
();
return
c_null
[
0
];
}
if
(!
c_false
())
{
return
2
;
}
int
w
=
c_null
[
2
];
w
=
w
+
c_null
[-
1
];
w
=
w
+
c_null
[
0
];
c_null
=
new
int
[
2
/
0
];
return
w
;
}
public
int
ignored
()
{
return
43
%
0
;
}
}
exec/AndiTest4.java
0 → 100644
View file @
4da7c304
/* only with O0 */
class
a
{
public
static
void
main
(
String
[]
args
)
{
int
x
=
15352
;
int
y
=
5
;
y
=
x
%
(-
y
);
y
=
y
/
y
-
x
%
y
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment