记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:33:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 (string(ptr->d_name).rfind(".out",l)==l-4||
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
foo.cc:34:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                  string(ptr->d_name).rfind(".ans",l)==l-4)) {
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
foo.cc:38:13: warning: ignoring return value of 'char* realpath(const char*, char*)', declared with attribute warn_unused_result [-Wunused-result]
     realpath(".",s);
     ~~~~~~~~^~~~~~~
foo.cc:56:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
     system(("cp -f ../../data/"+f+'/'+v[n].second+" "+f+".out").c_str());
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 344.0 KiB
#2 Runtime Error Segmentation fault 1ms 384.0 KiB
#3 Runtime Error Segmentation fault 1ms 384.0 KiB
#4 Runtime Error Segmentation fault 2ms 384.0 KiB
#5 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1027 OO7-2 把链表对象包装成数组
语言
C++
递交时间
2021-07-17 11:15:12
评测时间
2021-07-17 11:15:12
评测机
分数
0
总耗时
10ms
峰值内存
384.0 KiB