记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:36:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(j=0;j<strlen(str)-1;j++)
           ~^~~~~~~~~~~~~~
foo.cc:28:17: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
  char str[1000],tmp;
                 ^~~
foo.cc: In function 'double operation(double, double, char)':
foo.cc:23:1: warning: control reaches end of non-void function [-Wreturn-type]
 } 
 ^
foo.cc: In function 'int main()':
foo.cc:35:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%s",str);
   ~~~~~^~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 0ms 292.0 KiB
#2 Wrong Answer Read 148, expect NO. 0ms 284.0 KiB
#3 Accepted 0ms 288.0 KiB
#4 Wrong Answer Read 2, expect NO. 1ms 284.0 KiB
#5 Accepted 0ms 256.0 KiB

信息

递交者
类型
递交
题目
中缀表达式值(expr)
题目数据
下载
语言
C++
递交时间
2021-04-17 01:50:20
评测时间
2021-04-17 01:50:20
评测机
分数
60
总耗时
4ms
峰值内存
292.0 KiB