Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdio.h"
- #include "math.h"
- int main(){
- int n, s;
- scanf("%d", &n);
- s = pow(10, n - 1);
- for (int i = s + 2; i < s * 10; i += 3){
- printf("%d\n", i);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement