/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<s.size();i++){//移项变号
               ~^~~~~~~~~
foo.cc:18:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<s.size();i++){
               ~^~~~~~~~~
foo.cc:9:8: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   char c;
        ^
foo.cc:36:45: warning: 'ycx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cout<<c<<'='<<fixed<<setprecision(3)<<csx/ycx;
                                             ^~~
foo.cc:36:45: warning: 'csx' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read x=0, expect x=-12.667. 2ms 384.0 KiB
#2 Wrong Answer Read x=0, expect x=0.500. 2ms 404.0 KiB
#3 Wrong Answer Read y=0, expect y=7.000. 2ms 376.0 KiB
#4 Wrong Answer Read a=0, expect a=1.000. 2ms 384.0 KiB
#5 Wrong Answer Read a=0, expect a=0.000. 1ms 412.0 KiB

信息

递交者
类型
递交
题目
P1344 计算器的改良
语言
C++
递交时间
2021-07-12 09:17:55
评测时间
2021-07-12 09:17:55
评测机
分数
0
总耗时
11ms
峰值内存
412.0 KiB