/ Vijos /

记录详情

Accepted

foo.cc: In function 'void deal(double)':
foo.cc:102:50: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
         if ((ch[i] != '0' && ch[i] != '.') | sum > 0)
                                              ~~~~^~~
foo.cc: In function 'int main()':
foo.cc:125:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lf", &a[i]);
         ~~~~~^~~~~~~~~~~~~~
foo.cc:128:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &x);
         ~~~~~^~~~~~~~~~
foo.cc:134:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &x);
         ~~~~~^~~~~~~~~~
foo.cc:143:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lf%d", &x1, &y1);
         ~~~~~^~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 6ms 4.348 MiB
#2 Accepted 6ms 4.25 MiB
#3 Accepted 5ms 4.25 MiB
#4 Accepted 33ms 4.266 MiB
#5 Accepted 6ms 4.301 MiB
#6 Accepted 20ms 4.434 MiB
#7 Accepted 64ms 4.617 MiB
#8 Accepted 289ms 5.238 MiB

信息

递交者
类型
递交
题目
P1621 终极情报网
语言
C++
递交时间
2021-03-17 12:51:45
评测时间
2021-03-17 12:51:45
评测机
分数
100
总耗时
431ms
峰值内存
5.238 MiB