diff --git a/1343B Balanced Array/1343B.cpp b/1343B Balanced Array/1343B.cpp new file mode 100644 index 0000000..fb14b46 --- /dev/null +++ b/1343B Balanced Array/1343B.cpp @@ -0,0 +1,48 @@ +#include +using namespace std; +using ll = long long; + + +void solve() +{ + int n; + cin>>n; + vectorv; + if(n%4!=0) + cout<<"NO"<> TC; + cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file diff --git a/705A Hulk/705A.cpp b/705A Hulk/705A.cpp new file mode 100644 index 0000000..b59efca --- /dev/null +++ b/705A Hulk/705A.cpp @@ -0,0 +1,34 @@ +#include +using namespace std; +using ll = long long; + + +void solve() +{ + int n; + cin>>n; + string s1=" I hate that"; + string s2=" I love that"; + string s; + for(int i=1; i> TC; + //cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file