Solução: Problema do quadrado gêmeo das partes (Marco Antônio)
From AdonaiMedrado.Pro.Br
Revision as of 12:57, 1 April 2009 by 200.17.147.2 (Talk)
#include <stdlib.h> int main(){ int entry, kaprekar, i; scanf("%d",&entry); for(i=10;i<=entry;i = i*10){ kaprekar = entry/i + entry%i; if (krapekar*krapekar == entry){ return 1; } } return 0; }