+ 1
warning: integer constant is too large for its typ
help warning: integer constant is too large for its typ #include<stdio.h> #include<string.h> #include<limits.h> int main () { long long int num; int n; int divisor; scanf ("%d", &n); num = (10000 * 100000000000000000000 * 100000000000000000000 * 100000000000000000000); if (1 < n && n < (num -1)) if (n % 9 == 0) printf ("divisibilidad!"); else printf ("no es multiplo"); return 0; }
1 Réponse