425 - Enigmatic Encryption

The forum to report every bug you find or tell us what you'd like to find in UVa OJ's new system

Moderator: Board moderators

Post Reply
dreamoon
New poster
Posts: 8
Joined: Wed Mar 18, 2009 2:33 am

425 - Enigmatic Encryption

Post by dreamoon »

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 check what thing happened to the judge?
sohel
Guru
Posts: 856
Joined: Thu Jan 30, 2003 5:50 am
Location: New York

Re: 425 - Enigmatic Encryption

Post by sohel »

Can you post your code here?
dreamoon
New poster
Posts: 8
Joined: Wed Mar 18, 2009 2:33 am

Re: 425 - Enigmatic Encryption

Post by dreamoon »

Code: Select all

code removed after AC.
Last edited by dreamoon on Sun Apr 18, 2010 6:23 pm, edited 2 times in total.
sohel
Guru
Posts: 856
Joined: Thu Jan 30, 2003 5:50 am
Location: New York

Re: 425 - Enigmatic Encryption

Post by sohel »

When the judge gives a verdict of 'compile error', you should be able to see the exact error by clicking on the link.
dreamoon
New poster
Posts: 8
Joined: Wed Mar 18, 2009 2:33 am

Re: 425 - Enigmatic Encryption

Post by dreamoon »

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.
dreamoon
New poster
Posts: 8
Joined: Wed Mar 18, 2009 2:33 am

Re: 425 - Enigmatic Encryption

Post by dreamoon »

Finally I found that I get AC after I add "#include<crpyt.h>" at top of code.
So the link -lcrypt has disappeared ?
metaphysis
Experienced poster
Posts: 139
Joined: Wed May 18, 2011 3:04 pm

Re: 425 - Enigmatic Encryption

Post by metaphysis »

An interesting problem!
Post Reply

Return to “Bugs and suggestions”