FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
LLVM-Examples/NewPMExample/example1.cpp at master · codersguild/LLVM-Examples · GitHub
codersguild
/
LLVM-Examples
Public
forked from
lahiri-phdworks/LLVM-Examples
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
LLVM-Examples
/
NewPMExample
/
example1.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
45 lines (41 loc) · 1.01 KB
Breadcrumbs
LLVM-Examples
/
NewPMExample
/
example1.cpp
Copy path
File metadata and controls
45 lines (41 loc) · 1.01 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#
include
<
iostream
>
#
include
<
stdio.h
>
#
include
<
time.h
>
int
retval
() {
return
rand
() %
5
; }
int
main
() {
int
a =
0
, b =
0
, c =
0
, d =
0
, z =
0
, p =
0
, m =
0
, n =
0
,
arr[
5
] = {
0
,
0
,
0
,
0
,
0
};
srand
(
time
(
NULL
));
for
(
int
i =
0
; i <
rand
() %
500
; i++) {
if
(i %
5
==
0
) {
for
(
int
j =
0
; j <
1000
; j++) {
if
(
rand
() %
100
==
10
) {
a = b +
1
;
std::cout << a << c << d << std::endl;
}
else
{
d = c - a;
z = b;
a = p -
50
;
std::cout << d << z << a << std::endl;
if
(c < d) {
c = c -
1
;
a = a +
1
;
std::cout << c << d << a << std::endl;
a =
retval
();
a = m - n;
}
for
(
int
k =
90
; i >
0
; i--) {
a = a +
1
;
std::cout << a << std::endl;
}
}
a =
retval
();
std::cout << j << a << b << c << d << std::endl;
}
}
}
c = a;
d = b;
std::cout << d << c << std::endl;
return
0
;
}
Back
|
FazBrowse Home
|
New Git URL