Codeforces Round #411 (Div. 2), problem: (B) 3-palindrome Solution In C/C++

By |2017-07-24T01:55:33+00:00July 24th, 2017|Categories: Uncategorized|Tags: , , , , , , , |

#include <cstdio> int n; int main (){ scanf("%d", &n); for (int i = 0; i < n; i++) printf("%c", i % 4 < 2 ? 'a' : 'b'); printf("\n"); return 0; }