This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
/*ide asli:
* block block konim (bar asas maximum prefix)
* sepas ta zamani ke yeki kamel dar samt raste hazf konim (chon dar edame hamonja khahad bood)
* agar kesi bein middle nabashe hale (dige araye dast nemikhore)
* pas yeki vasate -> bokon 2 ta block va hamin kar ro anjam bede dobare
* (ye std::set negah midarim + segment tree, ke to set maximum block ro negah midarim va segment ham bara in ke
* betonim be query I, T javab bedim (khone I daghighan to koodom blocke ?)
*/
//Reading this fills you with DETERMINATION
//16:42:56
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |