We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85ca929 commit e384fd1Copy full SHA for e384fd1
Tutorial/SegmentTree.md
@@ -3,12 +3,13 @@
3
### KGSS - Maximum Sum
4
- **Link:** https://www.spoj.com/problems/KGSS/
5
- **Algorithm:** Segment tree, Pair Segment Tree
6
+- <details><summary>Idea</summary>
7
+ Firstly store all value
8
+</details>
9
-> Firstly store all value
-<details>
- <summary>Code</summary>
10
-
11
- ```c++
+- <details><summary>Code</summary>
+
12
+ ```c++
13
#include<bits/stdc++.h>
14
#define MAX 100007
15
using namespace std;
@@ -76,6 +77,15 @@ int main() {
76
77
}
78
79
```
80
81
82
83
+- example 4
84
85
+> Firstly store all value
86
+<details>
87
+ <summary>Code</summary>
88
89
</details>
90
91
0 commit comments