ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2012. About Grisha N.

Anasyasia Why wrong answer?:((((( [2] // Problem 2012. About Grisha N. 3 Nov 2022 12:34

#include <iostream>

using namespace std;

int main()
{
    int a;
    cin>>a;
    if (a>=7)
        cout<<"Yes";
    if (a<7)
        cout<<"No";
    return 0;
}
Vladimir Re: Why wrong answer?:((((( // Problem 2012. About Grisha N. 9 Dec 2022 21:10
Compare Yes and YES
Orbitus Re: Why wrong answer?:((((( // Problem 2012. About Grisha N. 19 Jul 2025 22:33
yes and no are in capital , please check output carefully