/* @ToDo 0-1 Pattern 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 */ #include <iostream> using namespace std ; int main (){ #ifndef ONLINE_JUDGE freopen ( "../asset/input.txt" , "r" , stdin ); freopen ( "../asset/output.txt" , "w" , stdout ); #endif // Code here!! int n ; cin >> n ; int sign = 1 ; for ( int i = 1 ; i <= n ; i ++){ ...
We provides solutions for different resources over internet.