But when I tried the awkward web submission form, I get the result back, "Access Denied". Anyone know what's going on here?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
e-mail submissions not working?
Moderator: Board moderators
e-mail submissions not working?
I have been submitting problems regularly for the past few weeks, but suddenly I get an e-mail back saying:
-
- Guru
- Posts: 647
- Joined: Wed Jun 26, 2002 10:12 pm
- Location: Hong Kong and New York City
- Contact:
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?
Check out http://www.algorithmist.com !
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.
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.
-
- Guru
- Posts: 647
- Joined: Wed Jun 26, 2002 10:12 pm
- Location: Hong Kong and New York City
- Contact:
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)..
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)..
Check out http://www.algorithmist.com !