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 1409. Two Gangsters

Wrong Answer || Compiler: GCC 7.1
Posted by Meraj al Maksud 2 Dec 2017 01:24
I don't understand what's wrong with my code. Help me pls. Thnx in advance.

#include<stdio.h>

int main(){
    int L, H;
    scanf("%d%d", &L, &H);
    printf("%d %d ", 10 - L, 10 - H);

    return 0;
}
Re: Wrong Answer || Compiler: GCC 7.1
Posted by Tasnim Nishat Islam 13 Feb 2018 04:48
It said not more than 10 cans...
thus there could be less than 10 cans
Re: Wrong Answer || Compiler: GCC 7.1
Posted by Tasnim Nishat Islam 13 Feb 2018 04:59
Once Harry and Larry shoot a common can...
you gotta consider that too...