[ create a new paste ] login | about

Link: http://codepad.org/DjKZYjhu    [ raw code | output | fork ]

C, pasted on Sep 1:
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
int main()
{
  int a=139;
  int b=954;
  int c=2115;
  if (a*a*a+b*b*b==c*c*c)
    printf("%d^3 + %d^3 = %d^3\n",a,b,c);
  return 0;
}


Output:
1
139^3 + 954^3 = 2115^3


Create a new paste based on this one


Comments: