Advertisement
ijontichy

ohdear.c

Apr 6th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.84 KB | None | 0 0
  1. #include <stdio.h>
  2. #define _ 3
  3. #define $ 5
  4.  
  5. /* For those who don't like reading this (and I don't blame you):
  6.  
  7. int main()
  8. {
  9.     int i=0, ret=0;
  10.  
  11.     for (i = 0; i < 1000; i++)
  12.     {
  13.         if (!(i % 3) || !(i % 5))
  14.         {
  15.             ret += i;
  16.         }
  17.     }
  18.  
  19.     printf("%d\n", ret);
  20. }
  21. */
  22.  
  23. int A(int x) {return ((x^$)*_)-($|(_+_));} int main(){char *f=(char*)malloc($); int i=A(A(_)^A(0))+A((_^$)-A(_^$))+A(A($&_)),I=A($+_)+A(A(A(_)+A(_|$)-(-A($)-(A(_)-(A(_)+A(_|$)))))) & A(_); while(++i%(((A(_)*-A($))+A(_*$))*(A(_)+A(_|$)))){I+=(!(i%_)||!(i%$))?i:0;}sprintf(f,"%c%c%c%c%s%d%c",A(_*-A($+$-_*A(_+_)))+A($+$+_),i%((A(_)-A($))*(A(_)+A(_|$)))^0,(A(A(A($-_)+A(_|$)))-(A(_)+A(_|$)))^A($+_),0);sprintf(f,"%s",f);printf(f,I);return A(_&$)+A(((A($+$)-((A(_)+A(_|$))*A(_+_)))*(A(_)+A(_|$)))&$)+A((A(_*(A(_-_)-A((-A($)+A(_|$))-$)))+A(-A($)+A(_|$)))&A(A(_|$)));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement