This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define MAX_DRY_TIME 10001 | |
typedef unsigned long long ull; | |
using namespace std; | |
int main() { | |
ull num_rain, num_clothe, num_go; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
typedef unsigned long long ull; | |
using namespace std; | |
int main () { | |
ull test_cases; | |
cin >> test_cases; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The problem description can be found here... https://youtu.be/k4Nn33QiZ3M | |
#include <bits/stdc++.h> | |
// Cyclic shift the std::string to left for 1 bit | |
void CyclicShiftLeft1(std::string& bit_str) { | |
bit_str.push_back(bit_str[0]); | |
bit_str.erase(0, 1); | |
return; | |
} |