Saturday, January 3, 2015

Solution of 2012. About Grisha N. ( Timus Online Judge )

#include<iostream>
#include<cstdio>
#include<cmath>
#include<cstring>
using namespace std;
#define pf printf
#define sf scanf
typedef long long ll;


int main()
{
    int f;
    sf("%d", &f);
    if(f>=7)
    {
        pf("YES\n");
    }
    else
    {
        pf("NO\n");
    }
}

No comments:

Post a Comment

Compare equality of two string in C

#include <stdio.h> #include<string.h> int main() {     char* country = "Bangladesh";     char* country2;     ...