/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&num[i].t);
  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:26:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&num[i].w);
   ~~~~~^~~~~~~~~~~~~~~~
foo.cc:50:15: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
    cun[index] = i;
    ~~~~~~~~~~~^~~

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-06-24T17:05:30.000Z","handle":"2020-06-24T17:05:30.000Z","cache_start":"2020-06-24T17:05:30.006Z","read_cases":"2020-06-24T17:05:30.124Z","judge":"2020-06-24T17:05:30.125Z","done":"2020-06-24T17:05:30.633Z"}
# 状态 耗时 内存占用
#1 Accepted 0ms 128.0 KiB
#2 Accepted 0ms 128.0 KiB
#3 Accepted 0ms 128.0 KiB
#4 Accepted 0ms 128.0 KiB
#5 Accepted 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1604 任务调度问题
语言
C++
递交时间
2020-06-24 18:25:52
评测时间
2020-06-25 01:05:29
评测机
分数
100
总耗时
3ms
峰值内存
128.0 KiB