diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-07-24 13:11:33 +0300 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-07-24 13:11:33 +0300 |
| commit | 6b548332bfc6469756526002971c422f43f86d0a (patch) | |
| tree | 261fde23f07c3e20cea375030f0c52863b59228c /codeforces/TwoGroups | |
| parent | cff8cae22ee9c25d193ff976143813f93e658e55 (diff) | |
| download | competitive-programming-6b548332bfc6469756526002971c422f43f86d0a.tar.xz competitive-programming-6b548332bfc6469756526002971c422f43f86d0a.zip | |
Removed some empty *.cpp files and Solved some new problems
Diffstat (limited to 'codeforces/TwoGroups')
| -rwxr-xr-x | codeforces/TwoGroups/main.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/codeforces/TwoGroups/main.cpp b/codeforces/TwoGroups/main.cpp index 0f7a8f9..a26bdf0 100755 --- a/codeforces/TwoGroups/main.cpp +++ b/codeforces/TwoGroups/main.cpp @@ -1,13 +1,13 @@ -#include<bits/stdc++.h> +#include <bits/stdc++.h> using namespace std; -int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); - int tt; - cin >> tt; - while(tt--){ +int main() { + ios_base::sync_with_stdio(false); + cin.tie(NULL); + int tt; + cin >> tt; + while (tt--) { int n; cin >> n; long long ans = 0; @@ -17,5 +17,5 @@ int main () { ans += x; } cout << abs(ans) << '\n'; - } + } } |
