Friday 15 January 2016

Solution of URI 1924 :: Vitória and Her Indecision


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>
#include <string.h>
int main()
{
    int a,b,c,d,e;
    char ara[100];
    scanf("%d", &a);
    for(b=1; b<=a; b++)
    {
        gets(ara);
        getchar();
    }
    printf("Ciencia da Computacao\n");
    return 0;
}

2 comments:

Note: only a member of this blog may post a comment.