Before seeing the solution make sure
that you tried enough. Don’t paste the whole code, just find out the logic. If
you stuck in trouble, just inform me on comment.
#include <stdio.h>
int main()
{
int m, test_case = 0;
char str[1000];
while(++test_case)
{
int i,...
Tuesday, 28 April 2020
Solution of URI 3055 :: Nota esquecida
Before seeing the solution make sure
that you tried enough. Don’t paste the whole code, just find out the logic. If
you stuck in trouble, just inform me on comment.
#include <stdio.h>
int main()
{
int A, M;
scanf("%d %d", &A, &M);
int ans = (M*2) - A;
printf("%d\n",...
Saturday, 18 April 2020
Solution of URI 2685 :: The Change
Before seeing the solution make sure
that you tried enough. Don’t paste the whole code, just find out the logic. If
you stuck in trouble, just inform me on comment.
#include <stdio.h>
int main()
{
int x;
while(scanf("%d", &x) != EOF)
{
x %= 360;
if(x<90...
Solution of URI 2344 :: Notas da Prova
Before seeing the solution make sure
that you tried enough. Don’t paste the whole code, just find out the logic. If
you stuck in trouble, just inform me on comment.
#include <stdio.h>
int main()
{
int N;
scanf("%d", &N);
if(N >= 86)
printf("A\n");
else...
Saturday, 5 May 2018
Solution of URI 2338 :: Morse
Before seeing the solution make sure
that you tried enough. Don’t paste the whole code, just find out the logic. If
you stuck in trouble, just inform me on comment.
/**Bismillahir Rahmanir Rahim.**/
#include <stdio.h>
int main()
{
int tst, i, j, l, cndtn = 0;
char str[1000*2],...