/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |     for (int i = 0; i < s.size(); i++) {
      |                     ~~^~~~~~~~~~
foo.cc:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |             while (j < s.size() && isdigit(s[j])) {
      |                    ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 2.00. 3ms 384.0 KiB
#2 Wrong Answer Read 666, expect FormulaException. 2ms 384.0 KiB
#3 Runtime Error Floating point exception 2ms 384.0 KiB
#4 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#5 Runtime Error Segmentation fault 3ms 512.0 KiB
#6 Runtime Error Segmentation fault 3ms 384.0 KiB
#7 Runtime Error Segmentation fault 2ms 384.0 KiB
#8 Runtime Error Segmentation fault 4ms 384.0 KiB
#9 Runtime Error Floating point exception 3ms 512.0 KiB
#10 Wrong Answer User output longer than standard answer. 5ms 384.0 KiB
#11 Runtime Error Segmentation fault 3ms 384.0 KiB
#12 Runtime Error Segmentation fault 2ms 384.0 KiB
#13 Wrong Answer Read 0, expect FormulaException. 4ms 384.0 KiB
#14 Runtime Error Floating point exception 2ms 384.0 KiB
#15 Wrong Answer Read 7, expect 7.00. 3ms 384.0 KiB
#16 Runtime Error Floating point exception 3ms 512.0 KiB
#17 Runtime Error Segmentation fault 4ms 384.0 KiB
#18 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#19 Wrong Answer Read 28, expect FormulaException. 4ms 384.0 KiB
#20 Runtime Error Segmentation fault 3ms 512.0 KiB

信息

递交者
类型
递交
题目
P2019 表达式求值2
语言
C++
递交时间
2022-07-09 11:04:37
评测时间
2022-07-09 11:04:37
评测机
分数
0
总耗时
72ms
峰值内存
512.0 KiB