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 | |
| parent | f285b09aaeae655e2dd523189a6f724544b632e8 (diff) | |
| download | competitive-programming-b11408c454c4bfdf4ba7fbc39343ebc325d371b0.tar.xz competitive-programming-b11408c454c4bfdf4ba7fbc39343ebc325d371b0.zip | |
Solved two problem from codeforces
Diffstat (limited to 'cses')
50 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 diff --git a/cses/SortingAndSearching/Apartments/main.cpp b/cses/SortingAndSearching/Apartments/main.cpp index 676f338..676f338 100644..100755 --- a/cses/SortingAndSearching/Apartments/main.cpp +++ b/cses/SortingAndSearching/Apartments/main.cpp diff --git a/cses/SortingAndSearching/Apartments/main_input0.txt b/cses/SortingAndSearching/Apartments/main_input0.txt index c2eddfd..c2eddfd 100644..100755 --- a/cses/SortingAndSearching/Apartments/main_input0.txt +++ b/cses/SortingAndSearching/Apartments/main_input0.txt diff --git a/cses/SortingAndSearching/Apartments/main_output0.txt b/cses/SortingAndSearching/Apartments/main_output0.txt index 0cfbf08..0cfbf08 100644..100755 --- a/cses/SortingAndSearching/Apartments/main_output0.txt +++ b/cses/SortingAndSearching/Apartments/main_output0.txt diff --git a/cses/SortingAndSearching/DistinctNumbers/main.cpp b/cses/SortingAndSearching/DistinctNumbers/main.cpp index 6e03958..6e03958 100644..100755 --- a/cses/SortingAndSearching/DistinctNumbers/main.cpp +++ b/cses/SortingAndSearching/DistinctNumbers/main.cpp diff --git a/cses/SortingAndSearching/FerrisWheel/main.cpp b/cses/SortingAndSearching/FerrisWheel/main.cpp index 5ad5363..5ad5363 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main.cpp +++ b/cses/SortingAndSearching/FerrisWheel/main.cpp diff --git a/cses/SortingAndSearching/FerrisWheel/main_input0.txt b/cses/SortingAndSearching/FerrisWheel/main_input0.txt index 8d443f6..8d443f6 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_input0.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_input0.txt diff --git a/cses/SortingAndSearching/FerrisWheel/main_input1.txt b/cses/SortingAndSearching/FerrisWheel/main_input1.txt index 78ee919..78ee919 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_input1.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_input1.txt diff --git a/cses/SortingAndSearching/FerrisWheel/main_input2.txt b/cses/SortingAndSearching/FerrisWheel/main_input2.txt index 93bab7a..93bab7a 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_input2.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_input2.txt diff --git a/cses/SortingAndSearching/FerrisWheel/main_input3.txt b/cses/SortingAndSearching/FerrisWheel/main_input3.txt index 58a1b3c..58a1b3c 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_input3.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_input3.txt diff --git a/cses/SortingAndSearching/FerrisWheel/main_output0.txt b/cses/SortingAndSearching/FerrisWheel/main_output0.txt index 00750ed..00750ed 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_output0.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_output0.txt diff --git a/cses/SortingAndSearching/FerrisWheel/main_output1.txt b/cses/SortingAndSearching/FerrisWheel/main_output1.txt index e440e5c..e440e5c 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_output1.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_output1.txt diff --git a/cses/SortingAndSearching/FerrisWheel/main_output2.txt b/cses/SortingAndSearching/FerrisWheel/main_output2.txt index e440e5c..e440e5c 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_output2.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_output2.txt diff --git a/cses/SortingAndSearching/FerrisWheel/main_output3.txt b/cses/SortingAndSearching/FerrisWheel/main_output3.txt index e440e5c..e440e5c 100644..100755 --- a/cses/SortingAndSearching/FerrisWheel/main_output3.txt +++ b/cses/SortingAndSearching/FerrisWheel/main_output3.txt diff --git a/cses/SortingAndSearching/SumOfTwoValues/main.cpp b/cses/SortingAndSearching/SumOfTwoValues/main.cpp index 292e8f8..292e8f8 100644..100755 --- a/cses/SortingAndSearching/SumOfTwoValues/main.cpp +++ b/cses/SortingAndSearching/SumOfTwoValues/main.cpp diff --git a/cses/SortingAndSearching/SumOfTwoValues/main_input0.txt b/cses/SortingAndSearching/SumOfTwoValues/main_input0.txt index a5153fc..a5153fc 100644..100755 --- a/cses/SortingAndSearching/SumOfTwoValues/main_input0.txt +++ b/cses/SortingAndSearching/SumOfTwoValues/main_input0.txt diff --git a/cses/SortingAndSearching/SumOfTwoValues/main_input1.txt b/cses/SortingAndSearching/SumOfTwoValues/main_input1.txt index 5f4fbde..5f4fbde 100644..100755 --- a/cses/SortingAndSearching/SumOfTwoValues/main_input1.txt +++ b/cses/SortingAndSearching/SumOfTwoValues/main_input1.txt diff --git a/cses/SortingAndSearching/SumOfTwoValues/main_output0.txt b/cses/SortingAndSearching/SumOfTwoValues/main_output0.txt index 0efd67f..0efd67f 100644..100755 --- a/cses/SortingAndSearching/SumOfTwoValues/main_output0.txt +++ b/cses/SortingAndSearching/SumOfTwoValues/main_output0.txt diff --git a/cses/SortingAndSearching/SumOfTwoValues/main_output1.txt b/cses/SortingAndSearching/SumOfTwoValues/main_output1.txt index 6b29869..6b29869 100644..100755 --- a/cses/SortingAndSearching/SumOfTwoValues/main_output1.txt +++ b/cses/SortingAndSearching/SumOfTwoValues/main_output1.txt |
