/ Vijos /

记录详情

Runtime Error

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;
        ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read x=0, expect x=-12.667. 1ms 384.0 KiB
#2 Runtime Error Floating point exception 1ms 356.0 KiB
#3 Wrong Answer Read y=0, expect y=7.000. 1ms 384.0 KiB
#4 Wrong Answer Read a=0, expect a=1.000. 1ms 384.0 KiB
#5 Wrong Answer Read a=0, expect a=0.000. 1ms 384.0 KiB

信息

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