mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-09 05:29:13 +08:00
Don't use bits/stdc++.h
This commit is contained in:
@@ -3,7 +3,7 @@ contains prices of all pieces of size smaller than n. Determine
|
||||
the maximum value obtainable by cutting up the rod and selling
|
||||
the pieces.*/
|
||||
|
||||
#include <bits/stdc++.h>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int cutrod(int p[], int n)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bits/stdc++.h>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int fib(int n)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bits/stdc++.h>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int arr[1000000];
|
||||
int fib(int n)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// in O(n log n)
|
||||
// tested on : https://cses.fi/problemset/task/1145/
|
||||
|
||||
#include <bits/stdc++.h>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
int LIS(int arr[], int n)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include<bits/stdc++.h>
|
||||
#include <iosrteam>
|
||||
using namespace std;
|
||||
|
||||
int max(int a,int b)
|
||||
|
||||
Reference in New Issue
Block a user