Search found 8 matches

by dreamoon
Wed Jan 14, 2015 11:59 pm
Forum: Bugs and suggestions
Topic: statements of 12754
Replies: 0
Views: 1309

statements of 12754

The sentence of "The degree of a display is a positive integer D" should be "The degree of a display is a non-negative integer D"
by dreamoon
Wed Jan 14, 2015 11:52 pm
Forum: Volume 127 (12700-12799)
Topic: 12754 - Display Problem
Replies: 8
Views: 1339

Re: 12754 - Display Problem

brianfry713 wrote:The problem statement is wrong, to get AC you should print 0.
Dose it exist any way to repair the problem statements?
by dreamoon
Tue Jan 06, 2015 9:09 pm
Forum: Volume 127 (12700-12799)
Topic: 12754 - Display Problem
Replies: 8
Views: 1339

Re: 12754 - Display Problem

That test case is in the judge's input, and to get AC you need to print 0. Instead of positive integer it should read non-negative. So if according the statement of this problem correctly, I should print "Bad". But I get WA just because the testdata of this problem in UVa is wrong. Can I understand...
by dreamoon
Sun Jan 04, 2015 6:27 pm
Forum: Volume 127 (12700-12799)
Topic: 12754 - Display Problem
Replies: 8
Views: 1339

Re: 12754 - Display Problem

brianfry713 wrote:Input:

Code: Select all

1
..
..
..
*
AC output:

Code: Select all

Case 1: 0
The statement says: "The degree of a display is a positive integer D".
Why the output is 0 for this test case?
by dreamoon
Sun Apr 18, 2010 6:27 pm
Forum: Bugs and suggestions
Topic: 425 - Enigmatic Encryption
Replies: 6
Views: 4586

Re: 425 - Enigmatic Encryption

Finally I found that I get AC after I add "#include<crpyt.h>" at top of code.
So the link -lcrypt has disappeared ?
by dreamoon
Wed Apr 07, 2010 6:16 pm
Forum: Bugs and suggestions
Topic: 425 - Enigmatic Encryption
Replies: 6
Views: 4586

Re: 425 - Enigmatic Encryption

The message say:
code.cpp:24: error: 'crypt' was not declared in this scope
But Problem description say: The pcrypt() procedure is a library procedure that we will supply -- you do not have to write it.
by dreamoon
Tue Apr 06, 2010 5:16 pm
Forum: Bugs and suggestions
Topic: 425 - Enigmatic Encryption
Replies: 6
Views: 4586

Re: 425 - Enigmatic Encryption

Code: Select all

code removed after AC.
by dreamoon
Tue Apr 06, 2010 4:00 pm
Forum: Bugs and suggestions
Topic: 425 - Enigmatic Encryption
Replies: 6
Views: 4586

425 - Enigmatic Encryption

recently The judge seem to have some mistake? --- I submit the Problem by C++ and get Compile Error, and get Runtime Error by C Originally, I think it's my problem. But I ask my friend submit his code already accepted, but it also get CE. So I think thd judge seem have some mistake. Could someone ch...

Go to advanced search