ENG
RUS
Timus 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
1243
. Divorce of the Seven Dwarfs
5 test? c
Posted by
Sanchir
23 Feb 2019 17:10
#include <stdio.h>
int main() {
unsigned long long int a;
scanf("%llu", &a);
if (a/7!=0)
printf("%llu\n", a%7);
else if (a < 7)
printf("%d\n", a); }
© 2000–2024
Timus Online Judge Team
. All rights reserved.