Accepted

foo.cc: In function 'int main()':
foo.cc:22:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n",s[0]+s[1]);
                 ~~~~~~~~~^
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&w,&e);
   ~~~~~^~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 416.0 KiB
#2 Accepted 20ms 1.754 MiB
#3 Accepted 1ms 428.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 18ms 1.957 MiB
#6 Accepted 17ms 1.648 MiB
#7 Accepted 22ms 1.629 MiB
#8 Accepted 20ms 1.84 MiB
#9 Accepted 20ms 1.801 MiB
#10 Accepted 24ms 1.746 MiB

信息

递交者
类型
递交
题目
P1010 活动选择 (act)
语言
C++
递交时间
2021-04-29 19:39:45
评测时间
2021-04-29 19:39:45
评测机
分数
100
总耗时
149ms
峰值内存
1.957 MiB