noooooooooi want to divide by zero whoooo whooooooo eeeeeeeooooo babby want divide
Name:
Anonymous2020-10-29 4:09
int div(int x,int y){return x/(y+(y==0)); }
Name:
Anonymous2020-10-29 10:57
>>2 int a=1, b=0; if (div(a, b) * b != a) { printf("Suugaku wo kakumei suru chikara wo!"); }
Name:
Anonymous2020-10-29 17:07
>>3 You have to look from another perspective: Obviously the bug was triggered by y variable getting to 0, the intended action was to divide by 1, but 1 was decremented to 0. The function idiot-proofs these y variables.
Name:
Anonymous2020-11-11 18:51
\(\frac{1}{0} = 1 \cdot \infty\)
Name:
Anonymous2020-11-11 22:38
printf("Suugaku wo kakumei suru chikara wo!"); } \(\frac{1}{0} = 1 \cdot \infty\) int a=1, b=0; if (div(a, b) * b != a) { int div(int x,int y){return x/(y+(y==0)); } post "nigger to rope" no syntax error