c++ notes
বাংলায় প্রোগ্রামিং রিসোর্সসমূহ
ekzlib
TJ SCT
Competitive Programming Study Guide for C++ Users
Editorials
Good Blog for UVA problem tutorial
Topic Wise Problem
adilet.org
CodeChef
List of Topics for programming Competitions
Algo list
কম্পিটিটিভ প্রোগ্রামিং টিউটোরিয়াল লিঙ্কবাকসো
E-Maxx...
1225 - Palindromic Numbers (II)
1225 - Palindromic Numbers (II)
Solution:
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
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll Max = 100005;
void palindrome(ll n, int cs)
{
ll test = n;
ll ans = 0;
while(n)
...
E. Divisor Count of Odd Parity
E. Divisor Count of Odd Parity
Topic: Divisor + parity
Solution:
all possible solution at a time.
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
...
Intra NSU Programming Contest Fall 2018 (Replay) - E
XOR on Pascal
Topic : Xor + combinatorics + Bigmod
Solution:
This file contains hidden or 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.
...
Intra NSU Programming Contest Fall 2018 (Replay) - G
Pota(t)o
#include<bits/stdc++.h>using namespace std;#define MAX 2000100typedef long long ll;int main(){ /* #ifndef ONLINE_JUDGE freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); #endif*/ //double start_time = clock(); int t; ...
1202 - Bishops
1202 - Bishops
#include<bits/stdc++.h>using namespace std;#define MAX 2000100typedef long long ll;int main(){ #ifndef ONLINE_JUDGE freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); #endif //double start_time = clock(); int T; ...
Job Sequencing Problem
Job Sequencing Problem
techiedelight
Type 01:
This file contains hidden or 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.
...
Euler’s Phi Function
Euler’s Phi Function:
Concept:
Shoshikkha
প্রোগ্রামিং পাতা
topH
Type 01:
( যখন একসাথে অনেক গুলোর জন্য বের করতে হবে।)
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
#include<bits/stdc++.h>
using namespace std;
#define...
1014 - Ifter Party
1014 - Ifter Party
Topic: Divisor
Code:
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
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
set<int>V;
int main()
{
//double start_time = clock();
#ifndef ONLINE_JUDGE
...
11417 - GCD
11417 - GCD
Topic: GCD
Code:
#include<bits/stdc++.h>using namespace std;typedef long long ll;int main(){ //double start_time = clock(); #ifndef ONLINE_JUDGE freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); #endif ...