1. 首页
  2. 考试认证
  3. 其它
  4. HEConnectorHackerEarth API的Node.js包装器

HEConnectorHackerEarth API的Node.js包装器

上传者: 2024-12-13 01:11:07上传 ZIP文件 2.18KB 热度 7次

这是一个用于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'

};

下载地址
用户评论