/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:45:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);ans=-1;ansb=-2;
 ~~~~~^~~~~~~~~
foo.cc:46:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 FOR(i,0,n) scanf("%lf",&a[i]);
            ~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 348.0 KiB
#3 Accepted 11ms 632.0 KiB
#4 Accepted 12ms 656.0 KiB
#5 Accepted 11ms 636.0 KiB
#6 Accepted 12ms 660.0 KiB
#7 Accepted 12ms 660.0 KiB
#8 Accepted 12ms 624.0 KiB
#9 Accepted 12ms 616.0 KiB
#10 Accepted 10ms 660.0 KiB

信息

递交者
类型
递交
题目
P1237 隐形的翅膀
语言
C++
递交时间
2021-01-23 19:18:00
评测时间
2021-01-23 19:18:00
评测机
分数
100
总耗时
100ms
峰值内存
660.0 KiB