- Set
$GOPATHto the Hypertask directory. - Install with
glock install hypertask/api - Synchronize with
glock sync hypertask/api
Easy...!
| #!/bin/bash | |
| ./configure --with-x --with-features=huge --enable-rubyinterp \ | |
| --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config \ | |
| --enable-gui=gtk2 --enable-cscope --prefix=/usr --enable-gtk2-check | |
| make VIMRUNTIMEDIR=/usr/share/vim/vim74 | |
| sudo make install | |
| #Set vim as your default editor with update-alternatives. |
| #!/bin/bash | |
| if [ -z $1 ] | |
| then | |
| echo "USAGE: $0 <test file without extension>"; | |
| echo "EXAMPLE: $0 TestQuickSort"; | |
| exit 1; | |
| fi | |
| cat > .build <<EOF |
| #include <iostream> | |
| #include <cstdio> | |
| #include <cstdlib> | |
| #include <cstring> | |
| #include <algorithm> | |
| using namespace std; | |
| const int MAX = 100005; | |
| char S[MAX]; | |
| int Z[MAX]; |
| //region Template | |
| #include <bits/stdc++.h> | |
| //#define ONLINE_JUDGE | |
| using namespace std; | |
| //ios_base::sync_with_stdio(false); | |
| inline int log(const char* format, ...) | |
| { | |
| #ifndef ONLINE_JUDGE | |
| va_list args; | |
| va_start(args, format); |
| /* Copyright 2017 Rafael Rendón Pablo <[email protected]> */ | |
| // region Template | |
| #include <bits/stdc++.h> | |
| using namespace std; | |
| typedef long long int64; | |
| typedef unsigned long long uint64; | |
| const double kEps = 10e-8; | |
| const int kMax = 1000; | |
| const int kInf = 1 << 30; | |
| const int kFail = -1; |
| //region Template | |
| #include <bits/stdc++.h> | |
| //#define ONLINE_JUDGE | |
| using namespace std; | |
| //ios_base::sync_with_stdio(false); | |
| inline int log(const char* format, ...) | |
| { | |
| #ifndef ONLINE_JUDGE | |
| va_list args; | |
| va_start(args, format); |
| 2014-07-31 18:55:07,561 [main] INFO omegaup.Logging - Logger loaded for /var/log/omegaup/service.log | |
| 2014-07-31 18:55:07,605 [main] INFO org.eclipse.jetty.util.log - Logging initialized @758ms | |
| 2014-07-31 18:55:07,690 [main] INFO org.eclipse.jetty.server.Server - jetty-9.1.z-SNAPSHOT | |
| 2014-07-31 18:55:07,741 [main] INFO o.e.jetty.server.ServerConnector - Started ServerConnector@4f106738{HTTP/1.1}{0.0.0.0:39613} | |
| 2014-07-31 18:55:07,741 [main] INFO org.eclipse.jetty.server.Server - Started @900ms | |
| 2014-07-31 18:55:07,742 [main] INFO omegaup.broadcaster.Broadcaster - Registering port 39613 | |
| 2014-07-31 18:55:07,742 [main] INFO omegaup.broadcaster.Broadcaster - Broadcaster started | |
| 2014-07-31 18:55:10,444 [main] INFO omegaup.grader.RoutingDescription - Parsing routing table: | |
| 2014-07-31 18:55:10,536 [main] INFO omegaup.grader.RoutingDescription - Routing rule parsed: List() | |
| 2014-07-31 18:55:10,566 [main] INFO omegaup.grader.RoutingDescription - Parsing routing table: |
| #include <iostream> | |
| #include <fstream> | |
| #include <queue> | |
| #include <map> | |
| #include <vector> | |
| #include <cstring> | |
| #include <algorithm> | |
| using namespace std; | |
| struct Node { |
| PHPUnit 3.7.28 by Sebastian Bergmann. | |
| Configuration read from /opt/omegaup/frontend/tests/phpunit.xml | |
| ............................................................... 63 / 180 ( 35%) | |
| .....................................................[31;1mE[0m[31;1mE[0m........ 126 / 180 ( 70%) | |
| .....................................................[31;1mE[0m | |
| Time: 1.9 minutes, Memory: 58.65Mb |