e-mail submissions not working?

Post here if you don't find any other place for your post. But please, stay on-topic: algorithms, programming or something related to this web site and its services.

Moderator: Board moderators

Post Reply
jdmetz
New poster
Posts: 25
Joined: Fri May 27, 2005 5:23 pm
Location: Ann Arbor, MI USA

e-mail submissions not working?

Post by jdmetz » Thu Jul 14, 2005 8:18 pm

I have been submitting problems regularly for the past few weeks, but suddenly I get an e-mail back saying:
Subject: PLEASE, SUBMIT ONLY FROM THE WEB

Dear jdmetz:


You only can submit problems from the web.

Please see http://acm.uva.es/problemset/submit.php
(or use alternatives like http://acm.uva.es/problemset/cdman/)

--
The Online Judge
But when I tried the awkward web submission form, I get the result back, "Access Denied". Anyone know what's going on here?

Larry
Guru
Posts: 647
Joined: Wed Jun 26, 2002 10:12 pm
Location: Hong Kong and New York City
Contact:

Post by Larry » Wed Aug 24, 2005 5:10 pm

I haven't submitted in awhile, but I haven't been able to get email submissions to work lately.. it's a real pain for me to submit on the web, so is this fixed?

jdmetz
New poster
Posts: 25
Joined: Fri May 27, 2005 5:23 pm
Location: Ann Arbor, MI USA

Post by jdmetz » Wed Aug 24, 2005 5:53 pm

I don't know, because I rewrote my acmsubmit script to use curl and submit using the webform. There relevant part is here:

curl --silent --form paso=paso --form problem=$1 --form userid=$USERID --form language=$PLANG --form comment= --form code= --form "codefile=@$FNAME" http://acm.uva.es/problemset/submitjudge.php > response.html

Where $1 is the problem number, $USERID is your full user id, $PLANG is the language string (as displayed in the web frontend), and $FNAME is the name of your source file. I always name my sources p####.c[pp] so my script determines the other variables from $1.

I don't know if curl is available for Windows, but this sure works much nicer for me than using the web interface manually.

Larry
Guru
Posts: 647
Joined: Wed Jun 26, 2002 10:12 pm
Location: Hong Kong and New York City
Contact:

Post by Larry » Wed Aug 24, 2005 6:50 pm

Thanks.

Ya, I'm not on a windows machine, and it's annoying in either case for me to copy and paste the bigger problems (like ones with BigInt)..

Post Reply

Return to “Other words”