Accepted

foo.cc: In function 'int Convert(char*, int*)':
foo.cc:8:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<strlen(s);i++)
               ~^~~~~~~~~~
foo.cc:11:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<strlen(s)-cnt;i++)
               ~^~~~~~~~~~~~~~
foo.cc:7:6: warning: unused variable 'isZero' [-Wunused-variable]
  int isZero=1, cnt=0;
      ^~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 388.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
比赛
2020盛泽二中奥赛集训营(2021-5-16作业)
语言
C++
递交时间
2021-05-18 10:49:26
评测时间
2021-05-18 10:49:26
评测机
分数
100
总耗时
12ms
峰值内存
388.0 KiB