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.

looks ok but wrong answer,why?
Posted by meherin 13 Oct 2018 19:58
#include<stdio.h>
int main()
{int f,left,time;
scanf("%d",&f);
left=12-f;
time=left*45;
if(time<=240){
printf("Yes");}
else{printf("No"):}
return 0;}
Re: looks ok but wrong answer,why?
Posted by Franco 16 Apr 2021 17:55
else{printf("No"):}

; not :

xd