Menu

Latest articles

Informatics Задача №312. Числа Фибоначчи
Statement of the problem Language: C++ #include <iostream> #include <math.h> using namespace std; int phi(int n) { int *h=new int [n]; h[0] = 1; h[1] [...]
Hackerrank > Mathematics > Fundamentals > Strange Grid Again
Statement of the problem Language: C++ #include <stdio.h> int power(int a,int b) { int i,mult=1; for(i=0;i<b;i++) mult=mult*a; return mult; } int [...]
Hackerearth – Trailing Zeroes in Factorial
Statement of the problem Language: C++ #include <stdio.h> int power(int a,int b) { int i,mult=1; for(i=0;i<b;i++) mult=mult*a; return mult; } int [...]
Hackerrank > Algorithms > Strings > Cut the sticks
Statement of the problem Language: C++ //Name- PRAVEEN KUMAR //Email- pruvi007@gmail.com //ph-no, - 7903471770 [...]
Hackerrank > Algorithms > Implementation > Drawing Book
Statement of the problem Language: C++ //Name - PRAVEEN KUMAR //Email- pruvi007@gmail.com //Ph-no.- 7903471770 #include<stdio.h> int main() { int [...]
Hackerearth – Little Monk and Library
Statement of the problem Language: C++ #include<bits/stdc++.h> using namespace std; typedef long long int ll; #define gc getchar_unlocked void [...]
Hackerearth – Saul Goodman’s Problem Statement
Statement of the problem Language: C++ #include <bits/stdc++.h> using namespace std; int main() { long long t,a,n,b,ans; map<long long ,long [...]
Informatics Задача №2962. Ход конем – 2
Statement of the problem Language: C++ #include <fstream> #include <iostream> bool possible (const int, const int, const int); void rec (const [...]
Informatics Задача №210. Гвоздики
Statement of the problem Language: C++ #include <iostream> #include <algorithm> using namespace std; int min(int o, int p){ if (o<p) return [...]
Informatics Задача №1752. Автобусы
Statement of the problem Language: C++ #include <iostream> void sort2( int *x, int *y ) { if (*x > *y) { int t = *x; *x = *y; *y = t; } } void [...]