KelpoHitsJoin Date: 2016-07-13 Post Count: 6087 |
Given the following program: public class MysteryReturn { public static void main(String[] args) { int x = 1; int y = 2; int z = 3; z = mystery(x, z, y); // Statement 1 System.out.println(x + " " + y + " " + z); // Statement 2 x = mystery(z, z, x); // Statement 3 System.out.println(x + " " + y + " " + z); // Statement 4 y = mystery(y, y, z); // Statement 5 System.out.println(x + " " + y + " " + z); // Statement 6 } public static int mystery(int z, int x, int y) { z--; x = 2 * y + z; y = x - 1; System.out.println(y + " " + z); return x; } } Write the output of each statement. Statement 1 3 0 Statement 2 1 2 4 Statement 3 Statement 4 ######### # ######### # |
|
KelpoHitsJoin Date: 2016-07-13 Post Count: 6087 |
Given the following program:
public class MysteryReturn {
public static void main(String[] args) {
int x = 1;
int y = 2;
int z = 3;
z = mystery(x, z, y); // Statement 1
System.out.println(x + " " + y + " " + z); // Statement 2
x = mystery(z, z, x); // Statement 3
System.out.println(x + " " + y + " " + z); // Statement 4
y = mystery(y, y, z); // Statement 5
System.out.println(x + " " + y + " " + z); // Statement 6
}
public static int mystery(int z, int x, int y) {
z--;
x = 2 * y + z;
y = x - 1;
System.out.println(y + " " + z);
return x;
}
}
Write the output of each statement.
Statement 3;
Statement 4;
Statement 5;
Statement 6; |
|
DepzzJoin Date: 2010-01-27 Post Count: 1168 |
bro that ssoooo easy wtf
|
|
KelpoHitsJoin Date: 2016-07-13 Post Count: 6087 |
then do it |
|
VercronJoin Date: 2010-09-18 Post Count: 9418 |
n. 2
n. 2 * 1 + z = x = 4
n. y = 3
n. prints 3 4
return 4
?
|
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
Just plug it in and go through each variable one by one
harbynger@roblox:~$ sudo rm -rf / --no-preserve-root && echo "Get slam jammed, kid!" |
|
|
what language is this wtf |
|
VercronJoin Date: 2010-09-18 Post Count: 9418 |
java thought c# at first
|
|
KelpoHitsJoin Date: 2016-07-13 Post Count: 6087 |
yea its java |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
i'll just compile this real fast i don't want to go through it by hand lol
harbynger@roblox:~$ sudo rm -rf / --no-preserve-root && echo "Get slam jammed, kid!" |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
# # # # # # # # # # # # # # # harbynger@roblox:~$ sudo rm -rf / --no-preserve-root && echo "Get slam jammed, kid!" |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
like wow OK ## # ## ## # ## # ## ## # ## # ## ## # harbynger@roblox:~$ sudo rm -rf / --no-preserve-root && echo "Get slam jammed, kid!" |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
############################################################################################################################################################## |
|
|
where do i get the uniform |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
ŤĤŘẸẸ ŻẸŘỖ
ỖŇẸ ŤŴỖ ƑỖǗŘ
ƑỖǗŘ ŤĤŘẸẸ
ƑĮϋẸ ŤŴỖ ƑỖǗŘ
ẸĮĞĤŤ ỖŇẸ
ƑĮϋẸ ŇĮŇẸ ƑỖǗŘ
[TEXT GENERATED BY SIFTKILLER, WRITTEN BY DOANAILERONROLL (C) 2017: SECURITY LEVEL 7]
harbynger@roblox:~$ sudo rm -rf / --no-preserve-root && echo "Get slam jammed, kid!" |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
HA
TAKE THAT COMMUNITY SIFT
God, I love deep learning, it's amazing what it does to chat filters.
I added about 700 entries to the sample set about 4 days ago, pretty sure it's pretty close to a public release. My brother is a god with JavaScript lol, I just add entries
harbynger@roblox:~$ sudo rm -rf / --no-preserve-root && echo "Get slam jammed, kid!" |
|
karetsJoin Date: 2012-06-29 Post Count: 2902 |
Are you in like 1st grade?...
I think a 12 year old would understand this.. |
|
|
it's not even that big of a deal you just have a bunch of stuff check for various parameters and whatever and then go through this long chain of nodes for a result
it just keeps altering the text until it doesn't recognize it anymore with the nodes allocated to it
|
|