diff --git a/chefina-codechef b/chefina-codechef new file mode 100644 index 0000000..5b9e72d --- /dev/null +++ b/chefina-codechef @@ -0,0 +1,29 @@ +#include +using namespace std; + +bool result(int m, int n) { + + if((m*(m+1)/2) == (n(n+1)/2) - (m*(m+1)/2)) + return true; + else + return false; + +} + +int main() { + + int t; + cin>>t; + while(t--) { + int n; + cin>>n; + int count = 0; + for(int i=1; i