/ Vijos /

记录详情

Time Exceeded

foo.cc: In member function 'bool data::scan()':
foo.cc:12:59: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[45]' [-Wformat=]
 scanf("%s%s%s%c%d%a\n",num,&name,&sex,&age,&score,&address);
                            ~~~~~                          ^
foo.cc:12:59: warning: format '%c' expects argument of type 'char*', but argument 5 has type 'int*' [-Wformat=]
foo.cc:12:59: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'char (*)[45]' [-Wformat=]
foo.cc:12:59: warning: format '%a' expects argument of type 'float*', but argument 7 has type 'char (*)[45]' [-Wformat=]
foo.cc:9:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s",num);
 ~~~~~^~~~~~~~~~
foo.cc:12:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s%s%s%c%d%a\n",num,&name,&sex,&age,&score,&address);
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Time Exceeded ≥1284ms ≥190.566 MiB
#2 Time Exceeded ≥1283ms ≥190.906 MiB
#3 Time Exceeded ≥1412ms ≥205.27 MiB
#4 Time Exceeded ≥1416ms ≥206.402 MiB
#5 Time Exceeded ≥1453ms ≥215.668 MiB
#6 Time Exceeded ≥1456ms ≥215.609 MiB
#7 Time Exceeded ≥1460ms ≥215.332 MiB
#8 Time Exceeded ≥1459ms ≥215.566 MiB
#9 Time Exceeded ≥1458ms ≥214.906 MiB
#10 Time Exceeded ≥1466ms ≥215.516 MiB
#11 Time Exceeded ≥1452ms ≥208.496 MiB
#12 Time Exceeded ≥1461ms ≥209.051 MiB
#13 Time Exceeded ≥1170ms ≥172.68 MiB
#14 Time Exceeded ≥1166ms ≥172.449 MiB
#15 Time Exceeded ≥1438ms ≥226.516 MiB
#16 Time Exceeded ≥1441ms ≥227.305 MiB
#17 Time Exceeded ≥1467ms ≥231.562 MiB
#18 Time Exceeded ≥1467ms ≥228.004 MiB
#19 Time Exceeded ≥1472ms ≥232.613 MiB
#20 Time Exceeded ≥1492ms ≥235.746 MiB

信息

递交者
类型
递交
题目
P1567 子串计数
语言
C++
递交时间
2021-04-10 22:02:54
评测时间
2021-04-10 22:02:54
评测机
分数
0
总耗时
≥28181ms
峰值内存
≥235.746 MiB