Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7474 - Distant Pairs |
Problem text...
Input
Input description...
Output
Output description...
Example
Input: etc. Output: etc.
Нэмсэн: | Bataa |
Огноо: | 2020-04-18 |
Хугацааны хязгаарлалт: | 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/distant-pairs/problem |
hide comments
|
|||||||
2024-01-08 07:43:57
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣿⣿⣿⣿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⢹⡿⠟⠿⣿⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⣃⠇⡂⠄⢃⡐⢜⣻⣿⣿⣷⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠠⠤⠤⠀⢲⡂⠀⣀⣀⣀⠠⢄⠀⠀⢀⡡⠁⡜⡀⢆⠸⣮⣼⡄⠻⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⡝⢠⠞⣇⡑⢢⠁⣆⣹⠈⣥⣼⡥⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢀⢀⣴⣶⣾⣿⣿⣿⣿⣷⣥⢚⣽⡔⢡⣾⣶⣷⣾⣧⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢠⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠈⠻⣞⣷⡥⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠀⠀⠈⠛⠙⡅⢘⣾⢦⣤⠤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢼⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠈⠀⠀⢇⡿⠹⡻⠼⠓⠅⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⠓⠀⠀⠀⠀⠀⠀⠈⣟⡳⢳⡓⢗⡚⣳⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠐⣾⣿⣿⣿⣿⣿⣿⡟⡄⠀⠀⠀⠀⠀⠀⡤⢄⠛⠋⠟⠩⢗⡠⢉⠗⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠐⣿⣿⡿⣿⣿⣿⣿⡏⠜⠀⠀⠀⠀⠀⠀⢇⢸⠇⠀⢠⠀⢠⢩⢣⡊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢸⢣⢓⡰⠠⢉⠙⠉⠄⠀⠀⠀⠀⠀⠀⠈⢆⠀⢰⡖⡐⣥⠓⡜⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⡈⢇⡎⡔⢡⠂⢸⡄⠀⠀⠀⠀⠀⠀⠀⠠⠈⢢⢳⣩⢞⡲⢭⠃⠀⢙⠀⠂⡈⠀⢑⠉⠀⢐⠠⠂⠀⠐⠄⠘⢢⠀⠀⠀⠠⠄⠀ ⠨⢦⡄⡯⡔⡩⠄⡘⡜⡠⠀⠀⠀⠀⠀⠀⠀⠀⢈⢚⢺⡟⣮⠳⠁⠆⢀⡠⠀⡀⠀⠀⠀⠀⠀⠀⠤⣀⠀⠠⢄⡙⠶⡐⢂⠀⡀⠂⠀ ⡠⠦⠤⣳⡜⡄⠂⠰⢡⠌⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣟⠂⣁⠀⠘⠀⠇⠀⡀⠄⠁⠐⠀⠠⠐⠀⠃⠤⢂⡐⠗⠄⠀⠐⢄⠀⠀⠀ ⠀⠀⠀⣵⡛⢶⡁⢀⢹⠑⡀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠘⣘⠲⢀⡌⠠⢡⡄⠠⠁⠚⠀⡒⠐⡄⠀⢀⠀⢀⡀⠤⡷⠔⠀⢄⢂⣀⡀⠐ ⠀⠀⠀⠸⡝⣮⢱⢊⠄⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡄⣠⠊⡁⠦⡁⠄⡎⢄⠈⡄⠡⠈⠁⠒⠨⡀⠀⢀⠀⠸⡀⠰⡈⡄⠃⣀⡔⣀ ⠀⠀⠀⠀⠹⣎⣧⢋⠴⠘⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢁⢕⡐⠂⢭⣼⢑⢌⢆⣴⡔⣠⢁⠂⠄⠜⡀⢆⠈⣾⡏⢀⡧⢄⣷⣿⠻⣿ ⡤⣶⣶⣶⣶⣿⡼⢣⠎⡱⢬⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⣶⢥⠠⠁⠆⡐⠠⠼⣼⡿⢳⠁⠀⠀⠂⠀⡉⣸⣣⠚⡤⢘⣵⣿⣿⣿⠋⡈ ⠈⠁⠉⠈⠀⠉⠈⠉⠉⠉⠉⠉⠉⠉⠉⠁⠐⠒⠒⠒⠒⠚⠒⠓⠚⠊⠙⠒⠒⠋⠠⢘⠀⠀⠜⠤⠵⠤⠤⠧⠤⠧⠋⡛⠛⠿⠋⠶⠇ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠐⠀⡀⠀⠀⠀⠀⠀⠈⢁⣱⡇⠀⠘⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠐⠀⠀⠀⠀⠀⠀⠉⡏⣆⠈⡀⠀⠀ |
|||||||
2023-12-21 09:13:43
https://www.canva.com/design/DAF3lwVjAtc/yvLQJgI5mX9vajYcWmWv8A/edit |
|||||||
2023-12-21 09:13:43
https://www.canva.com/design/DAF3lwVjAtc/yvLQJgI5mX9vajYcWmWv8A/edit |
|||||||
2023-08-24 09:33:50
#include <bits/stdc++.h> using namespace std; int main() { long long a,b,m,n,c,i,x=1,s=0,y,z,d; cin>>n; for(i=0;i<1;i++){ cin>>a>>b>>c>>d; m=a+b+c+d; } for(i=1;i<n;i++){ cin>>a>>b>>c>>d; s=a+b+c+d; if(s>m){ x=x+1; } } cout<<x; return 0; } |
|||||||
2023-08-24 04:58:16
#include <bits/stdc++.h> using namespace std; int main() { int buya=0,odma=1,l[100000],i,e,s=0,x,a,c; string n; cin>>a>>n; for( i=0;i<a;i++){ if(n[i]%2==0){ s=s+i+1; } } cout<<s; } |
|||||||
2023-05-09 12:42:02
1 Last edit: 2023-05-09 12:43:33 |
|||||||
2023-05-09 12:41:59
1234 Last edit: 2023-05-09 12:44:31 |
|||||||
2023-04-13 09:05:48
EZ EZ EZ EZ EZ EZ EZ EZ |
|||||||
2023-03-13 03:59:47
yes he's hacking fs; if(you==stupid) printf("S T U P I D"); |
|||||||
2022-12-12 03:42:06
BATAA AHAA TA UURUU BODSIINMU? |