Skip to content

Commit

Permalink
stdc++.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lzl124631x committed May 25, 2020
1 parent 7030687 commit 77d58f1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 30 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
Book/
*.sublime-workspace
.vscode
test/
test/
# Codeforces
run.sh
main.cpp
exe
28 changes: 2 additions & 26 deletions codeforces/Fox And Names/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,7 @@
## Solution 1. Topological Sort (BFS)

```cpp
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <map>
#include <unordered_map>
#include <set>
#include <stack>
#include <queue>
#include <unordered_set>
#include <algorithm>
#include <bits/stdc++.h>
using namespace std;
#define CASET int ___T, case_n = 1; scanf("%d ", &___T); while (___T-- > 0)
#define PRINTCASE printf("Case #%d: ",case_n++)
Expand Down Expand Up @@ -80,19 +68,7 @@ int main() {
## Solution 2. Topological Sort (DFS)
```cpp
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <map>
#include <unordered_map>
#include <set>
#include <stack>
#include <queue>
#include <unordered_set>
#include <algorithm>
#include <bits/stdc++.h>
using namespace std;
#define CASET int ___T, case_n = 1; scanf("%d ", &___T); while (___T-- > 0)
#define PRINTCASE printf("Case #%d: ",case_n++)
Expand Down
6 changes: 3 additions & 3 deletions codeforces/Fox And Names/out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Case #1: zyxwvutrsqponmlkjihgfedcba
Case #1: bcdefghijklmnopqrtuvwxyzsa
Case #2: Impossible
Case #3: zyxwvutsrqpoljhgnefikdmbca
Case #4: zyxwvutsrqpnmlkjihfedcboga
Case #3: aghjlopqrstuvwxyznefikdmbc
Case #4: acdefhijklmnpqrstuvwxyzbog

0 comments on commit 77d58f1

Please sign in to comment.