- Set
$GOPATH
to the Hypertask directory. - Install with
glock install hypertask/api
- Synchronize with
glock sync hypertask/api
Easy...!
require 'twitter' | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = "..." | |
config.consumer_secret = "..." | |
config.access_token = "..." | |
config.access_token_secret = "..." | |
end | |
user = 123 | |
cursor = client.follower_ids(user, count: 5000) |
#include <iostream> | |
#include <algorithm> | |
#include <sstream> | |
#include <vector> | |
#include <string> | |
#include <fstream> | |
#include <set> | |
#include <numeric> | |
#include <regex> |
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 |
#include <iostream> | |
#include <fstream> | |
#include <queue> | |
#include <map> | |
#include <vector> | |
#include <cstring> | |
#include <algorithm> | |
using namespace std; | |
struct Node { |
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: |
//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); |
#include <iostream> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <algorithm> | |
using namespace std; | |
const int MAX = 100005; | |
char S[MAX]; | |
int Z[MAX]; |