diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-01-07 23:03:50 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-01-07 23:03:50 +0200 |
| commit | b11408c454c4bfdf4ba7fbc39343ebc325d371b0 (patch) | |
| tree | d77e2fde1dee460986dd098c364142b772399f56 /cses/IntroductoryProblems | |
| parent | f285b09aaeae655e2dd523189a6f724544b632e8 (diff) | |
| download | competitive-programming-b11408c454c4bfdf4ba7fbc39343ebc325d371b0.tar.xz competitive-programming-b11408c454c4bfdf4ba7fbc39343ebc325d371b0.zip | |
Solved two problem from codeforces
Diffstat (limited to 'cses/IntroductoryProblems')
32 files changed, 6 insertions, 6 deletions
diff --git a/cses/IntroductoryProblems/BitStrings/main.cpp b/cses/IntroductoryProblems/BitStrings/main.cpp index db812c5..cb4a7fb 100644..100755 --- a/cses/IntroductoryProblems/BitStrings/main.cpp +++ b/cses/IntroductoryProblems/BitStrings/main.cpp @@ -3,8 +3,8 @@ using namespace std; int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); + ios_base::sync_with_stdio(false); + cin.tie(NULL); int n; int m = 1e9 + 7; cin >> n; diff --git a/cses/IntroductoryProblems/BitStrings/main_input0.txt b/cses/IntroductoryProblems/BitStrings/main_input0.txt index 00750ed..00750ed 100644..100755 --- a/cses/IntroductoryProblems/BitStrings/main_input0.txt +++ b/cses/IntroductoryProblems/BitStrings/main_input0.txt diff --git a/cses/IntroductoryProblems/BitStrings/main_output0.txt b/cses/IntroductoryProblems/BitStrings/main_output0.txt index 45a4fb7..45a4fb7 100644..100755 --- a/cses/IntroductoryProblems/BitStrings/main_output0.txt +++ b/cses/IntroductoryProblems/BitStrings/main_output0.txt diff --git a/cses/IntroductoryProblems/IncreasingArray/main.cpp b/cses/IntroductoryProblems/IncreasingArray/main.cpp index 67f6afe..a30b8ac 100644..100755 --- a/cses/IntroductoryProblems/IncreasingArray/main.cpp +++ b/cses/IntroductoryProblems/IncreasingArray/main.cpp @@ -3,8 +3,8 @@ using namespace std; int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); + ios_base::sync_with_stdio(false); + cin.tie(NULL); int n; cin >> n; int mx = 0; diff --git a/cses/IntroductoryProblems/IncreasingArray/main_input0.txt b/cses/IntroductoryProblems/IncreasingArray/main_input0.txt index 6e41d58..6e41d58 100644..100755 --- a/cses/IntroductoryProblems/IncreasingArray/main_input0.txt +++ b/cses/IntroductoryProblems/IncreasingArray/main_input0.txt diff --git a/cses/IntroductoryProblems/IncreasingArray/main_output0.txt b/cses/IntroductoryProblems/IncreasingArray/main_output0.txt index 7ed6ff8..7ed6ff8 100644..100755 --- a/cses/IntroductoryProblems/IncreasingArray/main_output0.txt +++ b/cses/IntroductoryProblems/IncreasingArray/main_output0.txt diff --git a/cses/IntroductoryProblems/MissingNumber/main.cpp b/cses/IntroductoryProblems/MissingNumber/main.cpp index 77f0f06..ec38059 100644..100755 --- a/cses/IntroductoryProblems/MissingNumber/main.cpp +++ b/cses/IntroductoryProblems/MissingNumber/main.cpp @@ -3,8 +3,8 @@ using namespace std; int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); + ios_base::sync_with_stdio(false); + cin.tie(NULL); int n; cin >> n; long long sum = 0; diff --git a/cses/IntroductoryProblems/MissingNumber/main_input0.txt b/cses/IntroductoryProblems/MissingNumber/main_input0.txt index 58c8e41..58c8e41 100644..100755 --- a/cses/IntroductoryProblems/MissingNumber/main_input0.txt +++ b/cses/IntroductoryProblems/MissingNumber/main_input0.txt diff --git a/cses/IntroductoryProblems/MissingNumber/main_input1.txt b/cses/IntroductoryProblems/MissingNumber/main_input1.txt index d284270..d284270 100644..100755 --- a/cses/IntroductoryProblems/MissingNumber/main_input1.txt +++ b/cses/IntroductoryProblems/MissingNumber/main_input1.txt diff --git a/cses/IntroductoryProblems/MissingNumber/main_output0.txt b/cses/IntroductoryProblems/MissingNumber/main_output0.txt index b8626c4..b8626c4 100644..100755 --- a/cses/IntroductoryProblems/MissingNumber/main_output0.txt +++ b/cses/IntroductoryProblems/MissingNumber/main_output0.txt diff --git a/cses/IntroductoryProblems/MissingNumber/main_output1.txt b/cses/IntroductoryProblems/MissingNumber/main_output1.txt index 1994202..1994202 100644..100755 --- a/cses/IntroductoryProblems/MissingNumber/main_output1.txt +++ b/cses/IntroductoryProblems/MissingNumber/main_output1.txt diff --git a/cses/IntroductoryProblems/PalindromeReorder/main.cpp b/cses/IntroductoryProblems/PalindromeReorder/main.cpp index 411cda8..411cda8 100644..100755 --- a/cses/IntroductoryProblems/PalindromeReorder/main.cpp +++ b/cses/IntroductoryProblems/PalindromeReorder/main.cpp diff --git a/cses/IntroductoryProblems/Permutations/main.cpp b/cses/IntroductoryProblems/Permutations/main.cpp index 2f55cc4..2f55cc4 100644..100755 --- a/cses/IntroductoryProblems/Permutations/main.cpp +++ b/cses/IntroductoryProblems/Permutations/main.cpp diff --git a/cses/IntroductoryProblems/Permutations/main_input0.txt b/cses/IntroductoryProblems/Permutations/main_input0.txt index 7ed6ff8..7ed6ff8 100644..100755 --- a/cses/IntroductoryProblems/Permutations/main_input0.txt +++ b/cses/IntroductoryProblems/Permutations/main_input0.txt diff --git a/cses/IntroductoryProblems/Permutations/main_input1.txt b/cses/IntroductoryProblems/Permutations/main_input1.txt index 00750ed..00750ed 100644..100755 --- a/cses/IntroductoryProblems/Permutations/main_input1.txt +++ b/cses/IntroductoryProblems/Permutations/main_input1.txt diff --git a/cses/IntroductoryProblems/Permutations/main_output0.txt b/cses/IntroductoryProblems/Permutations/main_output0.txt index 8205ff8..8205ff8 100644..100755 --- a/cses/IntroductoryProblems/Permutations/main_output0.txt +++ b/cses/IntroductoryProblems/Permutations/main_output0.txt diff --git a/cses/IntroductoryProblems/Permutations/main_output1.txt b/cses/IntroductoryProblems/Permutations/main_output1.txt index 303530c..303530c 100644..100755 --- a/cses/IntroductoryProblems/Permutations/main_output1.txt +++ b/cses/IntroductoryProblems/Permutations/main_output1.txt diff --git a/cses/IntroductoryProblems/Repetitions/main.cpp b/cses/IntroductoryProblems/Repetitions/main.cpp index cc45f63..cc45f63 100644..100755 --- a/cses/IntroductoryProblems/Repetitions/main.cpp +++ b/cses/IntroductoryProblems/Repetitions/main.cpp diff --git a/cses/IntroductoryProblems/Repetitions/main_input0.txt b/cses/IntroductoryProblems/Repetitions/main_input0.txt index a6c74b2..a6c74b2 100644..100755 --- a/cses/IntroductoryProblems/Repetitions/main_input0.txt +++ b/cses/IntroductoryProblems/Repetitions/main_input0.txt diff --git a/cses/IntroductoryProblems/Repetitions/main_output0.txt b/cses/IntroductoryProblems/Repetitions/main_output0.txt index 00750ed..00750ed 100644..100755 --- a/cses/IntroductoryProblems/Repetitions/main_output0.txt +++ b/cses/IntroductoryProblems/Repetitions/main_output0.txt diff --git a/cses/IntroductoryProblems/TrailingZeros/main.cpp b/cses/IntroductoryProblems/TrailingZeros/main.cpp index e41854e..e41854e 100644..100755 --- a/cses/IntroductoryProblems/TrailingZeros/main.cpp +++ b/cses/IntroductoryProblems/TrailingZeros/main.cpp diff --git a/cses/IntroductoryProblems/TrailingZeros/main_input0.txt b/cses/IntroductoryProblems/TrailingZeros/main_input0.txt index 209e3ef..209e3ef 100644..100755 --- a/cses/IntroductoryProblems/TrailingZeros/main_input0.txt +++ b/cses/IntroductoryProblems/TrailingZeros/main_input0.txt diff --git a/cses/IntroductoryProblems/TrailingZeros/main_output0.txt b/cses/IntroductoryProblems/TrailingZeros/main_output0.txt index b8626c4..b8626c4 100644..100755 --- a/cses/IntroductoryProblems/TrailingZeros/main_output0.txt +++ b/cses/IntroductoryProblems/TrailingZeros/main_output0.txt diff --git a/cses/IntroductoryProblems/TrailingZeros/test.txt b/cses/IntroductoryProblems/TrailingZeros/test.txt index d5d7d1b..d5d7d1b 100644..100755 --- a/cses/IntroductoryProblems/TrailingZeros/test.txt +++ b/cses/IntroductoryProblems/TrailingZeros/test.txt diff --git a/cses/IntroductoryProblems/TwoSets/main.cpp b/cses/IntroductoryProblems/TwoSets/main.cpp index bec99d9..bec99d9 100644..100755 --- a/cses/IntroductoryProblems/TwoSets/main.cpp +++ b/cses/IntroductoryProblems/TwoSets/main.cpp diff --git a/cses/IntroductoryProblems/TwoSets/main_input0.txt b/cses/IntroductoryProblems/TwoSets/main_input0.txt index 7f8f011..7f8f011 100644..100755 --- a/cses/IntroductoryProblems/TwoSets/main_input0.txt +++ b/cses/IntroductoryProblems/TwoSets/main_input0.txt diff --git a/cses/IntroductoryProblems/TwoSets/main_input1.txt b/cses/IntroductoryProblems/TwoSets/main_input1.txt index 1e8b314..1e8b314 100644..100755 --- a/cses/IntroductoryProblems/TwoSets/main_input1.txt +++ b/cses/IntroductoryProblems/TwoSets/main_input1.txt diff --git a/cses/IntroductoryProblems/TwoSets/main_output0.txt b/cses/IntroductoryProblems/TwoSets/main_output0.txt index 90d1101..90d1101 100644..100755 --- a/cses/IntroductoryProblems/TwoSets/main_output0.txt +++ b/cses/IntroductoryProblems/TwoSets/main_output0.txt diff --git a/cses/IntroductoryProblems/TwoSets/main_output1.txt b/cses/IntroductoryProblems/TwoSets/main_output1.txt index 5e35d1b..5e35d1b 100644..100755 --- a/cses/IntroductoryProblems/TwoSets/main_output1.txt +++ b/cses/IntroductoryProblems/TwoSets/main_output1.txt diff --git a/cses/IntroductoryProblems/WeirdAlgorithm/main.cpp b/cses/IntroductoryProblems/WeirdAlgorithm/main.cpp index ab5b099..ab5b099 100644..100755 --- a/cses/IntroductoryProblems/WeirdAlgorithm/main.cpp +++ b/cses/IntroductoryProblems/WeirdAlgorithm/main.cpp diff --git a/cses/IntroductoryProblems/WeirdAlgorithm/main_input0.txt b/cses/IntroductoryProblems/WeirdAlgorithm/main_input0.txt index 00750ed..00750ed 100644..100755 --- a/cses/IntroductoryProblems/WeirdAlgorithm/main_input0.txt +++ b/cses/IntroductoryProblems/WeirdAlgorithm/main_input0.txt diff --git a/cses/IntroductoryProblems/WeirdAlgorithm/main_output0.txt b/cses/IntroductoryProblems/WeirdAlgorithm/main_output0.txt index 4c544cf..4c544cf 100644..100755 --- a/cses/IntroductoryProblems/WeirdAlgorithm/main_output0.txt +++ b/cses/IntroductoryProblems/WeirdAlgorithm/main_output0.txt |
