HEConnectorHackerEarth API的Node.js包装器
这是一个用于HackerEarth API的Node.js包装器。用法示例:
var hackerApi = require('./heapi');
var options = {
client_secret: 'client secret',
// Optional
time_limit: 3, // 默认值为5
memory_limit: 262144, // 默认值为262144
async: 0 // 默认值为0
};
var handle = new hackerApi(options);
var prog_data = {
source: 'print \"May the force be with you!\"',
lang: 'PYTHON'
};
下载地址
用户评论