ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1511. Налоговые операции

let me know if there is a test case in that the any first number of A , B, C is 0
Послано m2m 16 дек 2006 14:06
let me know if there is a test case in that the any first number of A , B, C is 0

Please make clear that

Edited by author 16.12.2006 14:06

Edited by author 16.12.2006 14:06

Edited by author 16.12.2006 14:07
No leading zeroes as usual (-)
Послано Dmitry 'Diman_YES' Kovalioff 16 дек 2006 14:36
Re: No leading zeroes as usual (-)
Послано Samsonov Alex [USU] 16 дек 2006 16:59
I'm not sure in it. When I stopped removing leading zeros, I got AC instead of WA. Probably, it's my bug, of course.
We have automatic checkers for all tests and for all problems. No leading zeroes (-)
Послано Dmitry 'Diman_YES' Kovalioff 16 дек 2006 17:06
Re: We have automatic checkers for all tests and for all problems. No leading zeroes (-)
Послано Denis Koshman 17 июл 2008 21:47
According to problem statment A, B, C >= 1. Anyway, I faced a test with leading zero in input numbers (test 15). I don't know if it was just 0 or something like 0123 or even 0000 :) I removed that trap, and did not allow 0 in the very first digit of a number even if it was zero before. Got AC.
Re: We have automatic checkers for all tests and for all problems. No leading zeroes (-)
Послано Denis 18 апр 2009 00:20
I've cut my check whether there are leading zeroes in all numbers and passed 15th test. What's wrong with it?
Re: WA15
Послано Vassenbaher [IU7.BMSTU] 22 авг 2010 04:11
I had problems with WA#15. The next test was useful
00001
50001
100002

Answ=5
Re: WA15
Послано RR 7 янв 2011 10:59
I've got accepted and my program will fail every test with input having leading zero (for example the test 00001 50001 100002 above). So in my opinion there's no leading zero in input
Re: let me know if there is a test case in that the any first number of A , B, C is 0
Послано FFFeiya 29 июл 2018 16:34
I think #15 test is about ??0??
just like this ↓
1
100
999

100's first '0' is the problem

I can't AC because I deal with this 'carry-over' mistakenly.

answer:25

maybe it can help somebody~
Re: let me know if there is a test case in that the any first number of A , B, C is 0
Послано Vladimir Yakovlev (USU) 14 окт 2022 01:15
Test #15 was incorrect with A=0. It is now fixed.