WebService::OnlineJudge - Perl interface to UVa Online Judge System (Valladolid Programming Competition)
Version 0.01
use WebService::OnlineJudge; my $ws = WebService::OnlineJudge->new(); # you can get current status of the site print 'Current submissions: ' . $ws->submissions() . "\n"; print 'Current problems: ' . $ws->problems() . "\n"; print 'Current users: ' . $ws->users() . "\n"; print 'Current contests: ' . $ws->contests() . "\n";
Programming competitions happen everywhere, but one of the most famous is the Valladolid University's (UVa) International Programming Contest. Unfortunately you can't submit code in Perl (there's a funny story on Perl being banned from UCLA's competition for making problems too easy to solve in http://groups.google.com/group/comp.lang.perl.misc/msg/2cb6cb1134f84d81). Still, that doesn't mean you can't use Perl to provide a nice interface to the contest's information.
Returns a new WebService::OnlineJudge object.
Returns the total number of submissions in the UVa System
Returns the total number of available problems in the UVa System
Returns the total number of users registered in the UVa System
Returns the total number of contests available in the UVa System
Breno G. de Oliveira, <garu at cpan.org>
<garu at cpan.org>
The Valladolid OnlineJudge website appears to be not mature enough in its own interface, so don't be surprised if something suddenly stops working - just drop me a line via email or RT and I'll try to adjust this module to it as soon as possible.
Please report any bugs or feature requests to bug-webservice-onlinejudge at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-OnlineJudge. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-webservice-onlinejudge at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WebService::OnlineJudge
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-OnlineJudge
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WebService-OnlineJudge
CPAN Ratings
http://cpanratings.perl.org/d/WebService-OnlineJudge
Search CPAN
http://search.cpan.org/dist/WebService-OnlineJudge
I'd like to thank Bruno C. Buss for inspiring the creation of this module and helping with the API. He'll probably be the maintainer of this in the future (or at least a solid bug/bugfix RT poster =)
Copyright 2008 Breno G. de Oliveira, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::OnlineJudge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::OnlineJudge
CPAN shell
perl -MCPAN -e shell install WebService::OnlineJudge
For more information on module installation, please visit the detailed CPAN module installation guide.