Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
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
|
|||||
2024-06-03 04:00:54
i kms |
|||||
2024-05-29 17:35:24
#include<iostream> using namespace std; main(){ int a; cin >> a; if(a>0){ cout << "SERGELEN BAATAR" << " "; if(a>0){ cout << "LOVES" << " "; if(a>0){ cout << "BIG" << " "; if(a>0){ cout << "OILY" << " "; if(a>0){ cout << "BALLZ" << " "; if(a>0){ cout << "IN" << " "; if(a>0){ cout << "HIS" << " "; if(a>0){ cout << "MOUTH" << " . "; } } } } } } } } return 0; } |
|||||
2024-05-29 07:00:24
ym huulahgaad yasan zaalhuu lalar bee chi |
|||||
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! |