/ new_bzoj /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:141:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r+1>>1;
             ~~~^~
foo.cc:123:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s",s+1),n=strlen(s+1);
  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
foo.cc:132:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf(" %c ",&opt),read(x);
   ~~~~~~~~~~~~~~~~~~^~~~~~~~
foo.cc:151:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf(" %c ",&c);
    ~~~~~^~~~~~~~~~~
foo.cc:156:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf(" %c ",&c);
    ~~~~~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 72ms 1.234 MiB
#2 Accepted 255ms 3.879 MiB
#3 Accepted 253ms 3.91 MiB
#4 Accepted 256ms 3.898 MiB
#5 Accepted 261ms 3.871 MiB
#6 Accepted 71ms 1.23 MiB
#7 Accepted 402ms 3.922 MiB
#8 Accepted 402ms 3.934 MiB
#9 Accepted 381ms 3.926 MiB
#10 Accepted 273ms 3.777 MiB

信息

递交者
类型
递交
题目
火星人prefix
语言
C++
递交时间
2021-10-11 15:49:54
评测时间
2021-10-11 15:49:54
评测机
分数
100
总耗时
2629ms
峰值内存
3.934 MiB