Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7796 - Maximum Subarray Sum

Problem text...

Input

Input description...

Output

Output description...

Example

Input:
etc.

Output:
etc.

Нэмсэн:Bataa
Огноо:2020-04-14
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 ASM64 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE
Эх сурвалж:https://www.hackerrank.com/challenges/maximum-subarray-sum/problem

hide comments
2023-08-22 08:11:31
#include <iostream>
using namespace std;

int main() {

// your code here
long long a,t,c,d,e,f,i,b,g,j,k[100000],h=0,u=0,s;
cin>>a>>b>>c;
if(a>b) {
cout<<(c*2+2*b+1);
}
if(a==b){
cout<<c*2+a*2;
}
if(b>a) {
cout<<(c*2+2*a+1);
}
return 0;
}
2023-05-05 04:20:30
stfy nigga
2023-05-05 04:20:27
stfy nigga
2023-05-05 04:19:45
#include <iostream>

using namespace std;

int main()
{
int b,i,s,d=0;
string a;
cin>>a;
s=a.size();
for (i=0;i<=s;i++) {
if ((a[i]>='a' && a[i]<='z')||(a[i]>='A' && a[i]<='Z')) {
d=d+1;
}
2023-04-24 05:27:13
Өдөр Бүр ЗААВАЛ УУ ШАР ДОКТОР
2023-04-10 03:41:42
\______________/
__/__|______|__\__
/⭕⭕_______⭕⭕\
|__/__GTR-R34__\__|
\©©__|_|_|_|_|__©©/
2023-03-13 04:12:52
what you looking for we got what you looking for
what you looking for we got what you looking foRRR!
2022-03-24 07:13:50
so ezi i did it
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,m,a;
cin>>n;
a = n;
while(n>0){
m = m * 10 + n % 10;
n/=10;
}
if(a == m){
cout<<"YES";
}else{
cout<<"NO";
}
}
odoooo huuuultsgaaaal gej he;iiidaaa haahahhahaha
2021-09-29 12:59:43
hi lalraa ymr soniuch llr ve chi
2021-09-28 14:34:58
eazy





© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.