Skip to content

Commit

Permalink
Use standard headers since <bits/stdc++.h> doesn't work for g++.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehom committed May 14, 2020
1 parent 239382a commit 30c5994
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cpp/LinkedListCycle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
* For more details, check out http://www.byte-by-byte.com/listcycles/
*/

#include <iostream>
#include <set>

#include <bits/stdc++.h>
using namespace std;

struct node
Expand Down
5 changes: 3 additions & 2 deletions cpp/autocomplete.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include<bits/stdc++.h>
using namespace std;
#include <iostream>
#include <vector>

using namespace std;

class AutoComplete
{
Expand Down

0 comments on commit 30c5994

Please sign in to comment.