Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
edu
/
college-misc
/
6c93872efe83f1b6fb4b723ba5f78fd2d123f1d3
/
.
/
quad9
/
galois
/
labs
/
lab1
/
utils
/
cubs.cc
blob: ac064f91eedf3946a638e54bcd75149062165739 [
file
] [
log
] [
blame
]
#include
<iostream>
int
main
()
{
int
p
=
43
;
for
(
int
i
=
0
;
i
<
p
;
++
i
)
{
int
a
=
(
i
*
i
*
i
)
%
p
;
std
::
cout
<<
i
<<
"^3 = "
<<
a
<<
std
::
endl
;
}
}