为什么编译错误
  • 板块学术版
  • 楼主Starlight237
  • 当前回复38
  • 已保存回复38
  • 发布时间2018/8/6 15:29
  • 上次更新2024/11/11 19:45:12
查看原帖
为什么编译错误
75765
Starlight237楼主2018/8/6 15:29

错误信息:

Error decompressing the archive file : Traceback (most recent call last): File "/var/task/app.py", line 75, in judge_handler tar.extractall(extract_dir) File "/usr/lib64/python2.7/tarfile.py", line 2079, in extractall self.extract(tarinfo, path) File "/usr/lib64/python2.7/tarfile.py", line 2116, in extract self._extract_member(tarinfo, os.path.join(path, tarinfo.name)) File "/usr/lib64/python2.7/tarfile.py", line 2192, in _extract_member self.makefile(tarinfo, targetpath) File "/usr/lib64/python2.7/tarfile.py", line 2232, in makefile with bltn_open(targetpath, "wb") as target: IOError: [Errno 28] No space left on device: '/tmp/tmpKbiYuy/water2.in'

源代码:

#include <cstdio>
int main(int n, int k, int ans){
    scanf("%d%d", &n, &k);
    while(__builtin_popcount(n)>k) ans += n & -n, n += n & -n;
    return !printf("%d", ans);
}
2018/8/6 15:29
加载中...