Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- int max = 0;
- int sum = 0;
- for(int i = 1; i < 1001; i++)
- {
- sum = 0;
- for (int e = 1; e < 1001; e++)
- {
- if (i % e == 0)
- sum += 1;
- }
- if (max < sum)
- max = sum;
- }
- printf("T %d \n" , max);
- }
- вот моё решение ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement