Get Mystery Box with random crypto!

Codeforces solution

Logo of telegram channel getcode1 — Codeforces solution C
Logo of telegram channel getcode1 — Codeforces solution
Channel address: @getcode1
Categories: Education
Language: English
Subscribers: 4

Ratings & Reviews

3.67

3 reviews

Reviews can be left only by registered users. All reviews are moderated by admins.

5 stars

2

4 stars

0

3 stars

0

2 stars

0

1 stars

1


The latest Messages 5

2022-01-29 12:54:33 TCS REASONING
1)113
2)222
3)14
4)607
5)42
6)624
7)vd
8)mn
9)i
10)social
11)
Telegram- t.me/getcode1
615 views09:54
Open / Comment
2022-01-28 17:33:22 TCS NQT Solved Paper - 13th Sept 2021 [Slot 1]:
Telegram - t.me/getcode1
624 views14:33
Open / Comment
2022-01-28 17:03:39 TCS NQT & REVATURE EXAM SOLUTION GROUP

t.me/getcode1

t.me/tcsnqt_reventure_discussion

Share post in ur college Whatsapp grps.
661 views14:03
Open / Comment
2022-01-28 06:35:05 INFOSYS PRIVATE GROUP


t.me/infosys_discussion_group
1.2K views03:35
Open / Comment
2022-01-27 22:08:46 REVATURE & INFOSYS EXAM SOLUTION GROUP

t.me/getcode1

t.me/infosys_reventure_discussion

Share post in ur college Whatsapp grps.
1.3K views19:08
Open / Comment
2022-01-27 18:31:14 Tomorrow INFOSYS and REVATURE EXAM SOLUTION

t.me/infosys_reventure_discussion
t.me/infosys_reventure_discussion
t.me/infosys_reventure_discussion
t.me/infosys_reventure_discussion
1.3K views15:31
Open / Comment
2022-01-27 16:30:32
Python 3
Alfred McDonald's Code
Telegram - t.me/getcode1
449 views13:30
Open / Comment
2022-01-27 16:27:24 def findSubArray(arr, n):
sum = 0
maxsize = -1
for i in range(0, n-1):
sum = -1 if(arr[i] == 0) else 1
for j in range(i + 1, n):
sum = sum + (-1) if (arr[j] == 0) else sum + 1
if (sum == 0 and maxsize < j-i + 1):
maxsize = j - i + 1
startindex = i
if (maxsize == -1):
print(0);
else:
print(maxsize);

size = int(input())
arr = list(map(int, input().split()))
findSubArray(arr, size)

Python
Largest Sub Array
Telegram - t.me/getcode1
411 views13:27
Open / Comment
2022-01-27 16:26:31
C++
World of Flavors Code
Telegram - t.me/getcode1
402 views13:26
Open / Comment
2022-01-27 16:26:28
C++ Language
Maximum subarray
Write This code in your function side
Telegram: t.me/getcode1
412 views13:26
Open / Comment