177
Hashu
3y

x += 50;ο»Ώ

• 33
x = x + 1;
x = x + 1;
x = x + 1;
x = x + 1;
...
x = x + 1;
• 29
for(i=1;i<=2;i++):
x++
for(i=3;i<=4;i++):
x++
.
.
.
for(i=49;i<=50;i++):
x++
• 20
xPlus50 = x + 50;
while( x < xPlus50 ){
x++;
}
• 20
@1nt3rn3tc0wb0y
x_50 = x + 50;
while (x != x_50) {
x = math.rand()*x_50;
}
• 12
What demonic language is this? Why does it increment before checking i's value? Why are the statements not separated with a semicolon instead of a comma?

So many questions. But still, nice meme!
• 4
@dandrei279 hellπ¬
• 3
@dandrei279 π₯ππΌ
• 2
@suvdev π€
• 2
@TheSilent π€π₯
• 3
@DefiniteGoose thanks
• 6
x = 0

x = x - 1

.

.

.

.

x = x - 1

y = x * -1

print(y) --> 50

Cuz why not?
• 12
x = 1 << 5 | 1 << 4 | 1 << 1
• 0
TRIGGERED
• 3
counter == 50 ? x : 1 + add50(x, counter + 1);
}

• 3
Oh, everyone trying to show the worst possible code π
• 2
@hugh-mungus i'm guessing it will be like:

Chapter 1:

See this shit? DO NOT THINK OF DOING IT !!

.

.

.

The End
• 16
int x = 1;
int y = x + 1;
int z = y + 1;
int a = z + 1;
int b = a + 1;
int c = b + 1;
int d = c + 1;
int e = d + 1;
int f = e + 1;
int g = f + 1;
int h = g + 1;
int i = h + 1;
int j = i + 1;
int k = j + 1;
int l = k + 1;
int m = l + 1;
int n = m + 1;
int o = n + 1;
int p = o + 1;
int q = p + 1;
int r = q + 1;
int s = r + 1;
int t = s + 1;
int u = t + 1;
int v = u + 1;
int w = v * 2 * -1; // -50

w = w + (w * -1 / 2); // -25

w = w * -1 * 2; // 50

// too long, gonna divide this into two comments XD
• 14
// PART 2, BABY
// woooooooooo

{
Console.Writeline(result * 1 / 1 + 1 - 1);
}
else
{
char[] error = new char[22];
error[0] = 'O';
error[1] = 'h';
error[2] = ' ';
error[3] = 's';
error[4] = 'h';
error[5] = 'i';
error[6] = 't';
error[7] = ' ';
error[8] = 'u';
error[9] = ' ';
error[10] = 'f';
error[11] = 'u';
error[12] = 'c';
error[13] = 'k';
error[14] = 'e';
error[15] = 'd';
error[16] = ' ';
error[17] = 'u';
error[18] = 'p';
error[19] = ' ';
error[20] = 'm';
error[21] = '8';
string error2 = "";
for (int error3 = 0; error3 < error.Length; error3++;)
{
error2 += error[error3];
}
Console.Writeline(error2);
}

// THERE. I hope you liked this bs, I spent too much time on it XD
• 11
This entire comment section is horrifying.
• 4
What's happening here? ππ±πππ€¦‍βοΈ
• 5
for(int i = 0; i < 50; i++) {
x = i;
}
• 1
• 4
Why are we doing this?
• 3
@demiurge Why not?
Also, welcome to devRant ^^ π
• 2
unsigned char x = -206;
• 3
While(1){
x = random(1,100);
if x == 50 {
Exit ;
}
}
Return x;
• 0
Funny thing: it is recommended to use ++i instead of i++
• 0
@Alice yeah, should have mentioned Java or C++. Only of those 2 I know
• 5
I found the optimal solution:
X: int = 5
Y: int = 0

Print(X+Y) ==> 50

With AI tech, computers know we want 50!

I will leave now πͺπ
• 3
int x = 1 + 1 + 1 + 1 + 1 + .... 1 + 1 + 1;
• 5
int x;
double y = 0;
while (y != 50) {
y += 0.000000000001;
}
x = (int) y;
• 1
• 2
@simulate π
• 6
Wait...
Oh shit I fucked up m8.

I actually did fuck up.
The "addition" variable sums each of the letters variables (x+y+z+a+b+c+...).

Problem is, the sum of those variables isn't 50, as I thought. It's actually 1275.
This happens because each letter variable has the same value as the previous one, added to a 1.
So, if I wanted to have all of the values of all of those variables written in output, I would have:
x = 1
y = 2
z = 3
a = 4
b = 5
c = 6
d = 7
[etcetera...]

...so yeah. Humans make mistakes, and that's not new, haha
• 0
@Alice
Ruby :D
• 6
• 4
@UltraJason Well actually I just subscribed to Reddit like a month ago, haha xD

Btw thanks, luv you too –w– β‘
• 2
Lots of undeclared variables.