/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'lowprice* getLowPrice(int)':
foo.cc:23:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<pfv.size();i++) {
                 ~^~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:41:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     int n; scanf("%d", &n);
            ~~~~~^~~~~~~~~~
foo.cc:42:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=0;i<n;i++) scanf("%d", &shop_price[i]);
                          ~~~~~^~~~~~~~~~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-30T12:17:14.134Z","handle":"2020-07-30T12:17:14.134Z","cache_start":"2020-07-30T12:17:14.141Z","read_cases":"2020-07-30T12:17:14.805Z","judge":"2020-07-30T12:17:14.805Z","done":"2020-07-30T12:17:15.149Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 272.0 KiB
#2 Runtime Error Segmentation fault 8ms 16.48 MiB
#3 Runtime Error Segmentation fault 8ms 16.508 MiB
#4 Runtime Error Segmentation fault 8ms 16.457 MiB
#5 Runtime Error Segmentation fault 9ms 16.484 MiB
#6 Runtime Error Segmentation fault 9ms 16.48 MiB
#7 Runtime Error Segmentation fault 15ms 17.098 MiB
#8 Runtime Error Segmentation fault 11ms 16.809 MiB
#9 Runtime Error Segmentation fault 16ms 17.309 MiB
#10 Runtime Error Segmentation fault 19ms 17.562 MiB

信息

递交者
类型
递交
题目
P1285 佳佳的魔法药水
语言
C++
递交时间
2020-07-30 20:17:14
评测时间
2020-07-30 20:17:14
评测机
分数
10
总耗时
110ms
峰值内存
17.562 MiB