#include<stdio.h> int main() { int a,b,i,count=1; for(i=1; i<=10000; i++) { for(a=1; a<=10000; a++) { for(b=1; b<=10000; b++) { if(i==a*a*a+b*b*b) { count++; } if(count>=2) { printf("%d",i); } break; } break; } break; } return 0; }
int
INT_MAX
long long
LLONG_MAX
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)