-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-demo.cpp
More file actions
65 lines (64 loc) · 1.08 KB
/
dev-demo.cpp
File metadata and controls
65 lines (64 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//LordNeo
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
typedef vector<ll> vll;
typedef vector<pair<ll, ll>> vp;
typedef map<ll, ll> ml;
typedef unordered_map<ll, ll> uml;
#define pb push_back
#define ff first
#define ss second
const ll inf = INT_MAX;
const ll mod = 1000000007;
ll gcd(ll a, ll b)
{
if (b == 0)
return a;
return gcd(b, a % b);
}
ll lcm(ll a, ll b)
{
return (a / gcd(a, b)) * b;
}
int factorial(ll n)
{
return (n == 1 || n == 0) ? 1 : n * factorial(n - 1);
}
ll sm(ll n)
{
ll ans = n * (n + 1) / 2;
return ans;
}
bool isprime(ll x)
{
for (ll i = 2; i * i <= x; i++)
{
if (x % i == 0)
return 0;
}
return 1;
}
bool perfectSquare(ld x)
{
ld sr = sqrt(x);
return ((sr - floor(sr)) == 0);
}
/*___________________*workplace*_______________________*/
void solve()
{
cout<<"hello in dev branch";
}
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
ll test_case;
cin >> test_case;
while (test_case--)
{
solve();
}
return 0;
}