Beecrowd 1040 Average 3 Solution in C, C++, Python

BEE CROWD 1131 Grenais Solution

Beecrowd 1040 Average 3 Solution Question Introduction Beecrowd is a well-known site among competitive programmers focused on the enhancement of their problem-solving capacity. Europe, with all its resources, helps programmers perfect various algorithms and coding strategies typical to coding contests and interviews. Many users face problems that fall under this category, for instance, Beecrowd 1040: … Read more

Beecrowd 1045 Triangle Types solution in C, C++, Python

Beecrowd 1045 Triangle Types solution

Beecrowd 1045 Triangle Types solution Question BEE 1045 – Triangle Types Solution in C #include <stdio.h> int main() { double a,b,c,temp,i,j; scanf(“%lf%lf%lf”,&a,&b,&c); if(a<b){temp=a;a=b;b=temp; } if(a<c){temp=a;a=c;c=temp; } if(b<c){temp=b;b=c;c=temp; } i=b*b+c*c; j=a*a; if(a>=b+c){ printf(“NAO FORMA TRIANGULO\n”); } else{ if(j==i){ printf(“TRIANGULO RETANGULO\n”); } if(j>i){ printf(“TRIANGULO OBTUSANGULO\n”); } if(j<i){ printf(“TRIANGULO ACUTANGULO\n”); } if(a==b&&b==c){ printf(“TRIANGULO EQUILATERO\n”); } else if(a==b||b==c||c==a){ printf(“TRIANGULO … Read more

Beecrowd 1046 solution || URI – BEECROWD – BEE Online Judge Solution  1046-Game Time || Uri 1046 solution in C, C++

Beecrowd 1046 solution

submit link Beecrowd 1046 solution || URI – BEECROWD – BEE 1046 Solution in C, C++ Question Game Time Read the start time and end time of a game, in hours. Then calculate the duration of the game, knowing that the game can begin in a day and finish in another day, with a maximum … Read more

Uri 1080 Solution || BEE 1080 || Beecrowd1080 Highest and Position

Uri 1080 Solution

Beecrowd1080 Highest and Position question Uri 1080 Solution || BEE 1080 ||Free Code Center Highest and Position Adapted by Neilor Tonin, URI  Brazil Timelimit: 1 Read 100 integer numbers. Print the highest read value and the input position. Input The input file contains 100 distinct positive integer numbers. Output Print the highest number read and the … Read more

Beecrowd 1176 Fibonacci Array Solution

Beecrowd 1176 Fibonacci Array Solution

Beecrowd 1176 Fibonacci Array Solution Beecrowd 1176 Fibonacci Array Question Beecrowd 1176 Fibonacci Array Solution.Understanding Fibonacci Sequences: Before we dive into solving the problem, it is important to understand what Fibonacci sequences are. Fibonacci sequences are a series of numbers in which each number is the sum of the two preceding numbers. The sequence starts … Read more

Beecrowd-1070 Six Odd Numbers Solution

Beecrowd-1070

Beecrowd-1070 Six Odd Numbers Solution Beecrowd 1070 Six Odd Number Read an integer value X and print the 6 consecutive odd numbers from X, a value per line, including X if it is the case. Input The input will be a positive integer value. Output The output will be a sequence of six odd numbers. Input Sample Output Sample 8 … Read more

Uri 1173 Solution || Beecrowd 1173 – Array fill I solution in C,CPP

Uri 1173 Solution

Uri 1173 Solution || Beecrowd 1173 – Array fill I solution Question link: Beecrowd 1173 – Array fill I solution in C #include <stdio.h>int main() { int N[10],i,d; scanf(“%d”,&d); for(i=0;i<10;i++){ N[i]=d; printf(“N[%d] = %d\n”,i,d);d*=2; } return 0;} Beecrowd 1173 – Array fill I solution in C++ Beecrowd 1173 – Array fill I solution in Python … Read more

Uri 1172 solution || Beecrowd 1172 – Array Replacement I solution in C , Python || Free Code Center

Uri 1172 solution

Uri 1172 Solution || Beecrowd 1172 – Array Replacement I solution Question link: Beecrowd 1172 – Array Replacement I solution in C #include <stdio.h> int main() { int X[10],i; for(i=0;i<10;i++){ scanf(“%d”,&X[i]); } for(i=0;i<10;i++){ if(X[i]==0||X[i]<0) {X[i]=1;} } for(i=0;i<10;i++){ printf(“X[%d] = %d\n”,i,X[i]); } return 0; } Beecrowd 1172 – Array Replacement I solution in Python def main(): … Read more

Uri 1048 solution in c || Beecrowd 1048 Salary Increase solution in C,CPP

Uri 1048 solution in c

Uri 1048 Solution in c || Beecrowd 1048 Salary Increase Question #include<stdio.h> int main() { float s; scanf(“%f”,&s); if(s>0 && s<=400.0) printf(“Novo salario: %.2f\nReajuste ganho: %.2f\nEm percentual: 15 %%\n”,(s+(s*.15)),(s*.15)); else if(s<=800.0) printf(“Novo salario: %.2f\nReajuste ganho: %.2f\nEm percentual: 12 %%\n”,(s+(s*.12)),(s*.12)); else if(s<=1200.0) printf(“Novo salario: %.2f\nReajuste ganho: %.2f\nEm percentual: 10 %%\n”,(s+(s*.10)),(s*.10)); else if(s<=2000.0) printf(“Novo salario: %.2f\nReajuste ganho: … Read more