long long int n;
while (cin >> n) {
if (n <= 0) {
break;
}
else if (n == 1) {
printf("0%%\n");
}
else {
printf("%lld%%\n", (long long int) round((n/4.0)*100));
}
}
return 0;
}
Search found 2 matches
- Wed Oct 05, 2011 10:48 am
- Forum: Volume 104 (10400-10499)
- Topic: 10499 - The Land of Justice
- Replies: 51
- Views: 28387
- Tue Sep 06, 2011 10:43 am
- Forum: Volume 5 (500-599)
- Topic: 517 - Word
- Replies: 13
- Views: 8192
Re: 517.- WA Problem
think that judge knows better mobile spy..really deceptive 
