1 solutions
-
0
C :
#include<stdio.h> int main() { int count=0; int a,b,c,d,e; for(a=1;a<=9;a++) for(b=1;b<=9;b++) for(c=1;c<=9;c++) for(d=1;d<=9;d++) for(e=1;e<=9;e++) { if(((a*100+b*10+c)*(d*10+e))==((a*10+b*1)*(c*100+d*10+e))) count++; } printf("%d",count); }C++ :
#include<stdio.h> int main() { printf("142\n"); }
- 1
Information
- ID
- 18542
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- (None)
- Tags
- (None)
- # Submissions
- 0
- Accepted
- 0
- Uploaded By