0% found this document useful (0 votes)
23 views2 pages

Problem - C - Codeforces

Uploaded by

Huyền Khánh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views2 pages

Problem - C - Codeforces

Uploaded by

Huyền Khánh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

10/26/23, 12:58 AM Problem - C - Codeforces

Khánh Huyền | Logout

CONTESTS

PROBLEMS SUBMIT CODE MY SUBMISSIONS STATUS STANDINGS CUSTOM INVOCATION

Lớp học LEVEL 1


Statement is not available Participant
on English language

→ About Group
C. Đoạn con lớn nhất
time limit per test: 1 second
memory limit per test: 256 megabytes
input: standard input
output: standard output

Cho dãy số nguyên a gồm N phần tử và hai số nguyên dương L, R ≤ N. Bạn được yêu cầu
tìm dãy con liên tiếp có tổng lớn nhất sao cho độ dài của nó nằm trong đoạn (L, R).

Input

Dòng đầu chứa ba số nguyên N, L, R (L ≤ R ≤ N ≤ 105).


Dòng thứ hai chứa N số nguyên miêu tả dãy a. (|ai| ≤ 105).
→ Group Contests 
Output
Một số nguyên – Tổng lớn nhất tìm được. Last lesson - Advanced Stack Deque

Example Advanced Skills 4

input Copy Advanced Skills 3

9 2 3 Advanced Skills 2
40 -39 0 3 -5 0 3 0 1
Advance Skills 1
output Copy
Tổ hợp - Bao hàm loại trừ
4
Cầu khớp - Thuật toán Tarjan

DP Bitmask

Last lesson - Advanced Stack


Deque
Finished
Practice

→ Virtual participation 
Virtual contest is a way to take part in past
contest, as close as possible to participation
on time. It is supported only ICPC mode for
virtual contests. If you've seen these
problems, a virtual contest is not for you -
solve these problems in the archive. If you
just want to solve some problem from a
contest, a virtual contest is not for you -
solve this problem in the archive. Never use
someone else's code, read the tutorials or
communicate with other person during a
virtual contest.

Start virtual contest

https://level12023.contest.codeforces.com/group/tufg54ShAa/contest/481526/problem/C 1/2
10/26/23, 12:58 AM Problem - C - Codeforces

→ Submit?

Language: GNU G++17 7.3.0

Choose
Choose File No file chosen
file:

Submit

→ Last submissions
Submission Time Verdict
Oct/25/2023 Perfect result:
229731881
20:23 100 points

Codeforces (c) Copyright 2010-2023 Mike Mirzayanov


The only programming contests Web 2.0 platform
Server time: Oct/26/2023 00:58:32UTC+7 (j3).
Desktop version, switch to mobile version.
Privacy Policy

Powered by

https://level12023.contest.codeforces.com/group/tufg54ShAa/contest/481526/problem/C 2/2

You might also like