173
Hashu
6y

x += 50;ο»Ώ

Comments
  • 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++;
    }
  • 19
    @1nt3rn3tc0wb0y
    x_50 = x + 50;
    while (x != x_50) {
    x = math.rand()*x_50;
    }
  • 4
    @dandrei279 hell😬
  • 3
    @dandrei279 πŸ”₯πŸ‘ŒπŸΌ
  • 2
    @suvdev πŸ€“
  • 2
    @TheSilent πŸ€“πŸ”₯
  • 2
    @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
    *using post-increment instead of pre-increment*
    TRIGGERED
  • 3
    add50( x, counter) {
    counter == 50 ? x : 1 + add50(x, counter + 1);
    }

    add50(x,0);
  • 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
  • 15
    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

    int addition = x+y+z+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v;

    addition = addition * 2;

    if (addition == w)
    {
    int result = addition + w - addition;
    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 ^^ πŸ’™
  • 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;
  • 1
  • 2
  • 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
  • 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.
Add Comment