/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:90:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i < s.size()){
         ~~^~~~~~~~~~
/in/foo.cc:93:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       while(i<s.size() && isdigit(s[i])){
             ~^~~~~~~~~
/in/foo.cc: In function 'int cal(Node*)':
/in/foo.cc:83:14: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   return ans%MOD;
              ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 352.0 KiB
#5 Accepted 1ms 356.0 KiB
#6 Accepted 1ms 352.0 KiB
#7 Accepted 2ms 356.0 KiB
#8 Accepted 2ms 352.0 KiB
#9 Time Exceeded ≥1002ms ≥7.5 MiB
#10 Time Exceeded ≥1001ms ≥7.488 MiB

信息

递交者
类型
递交
题目
P1849 表达式求值
语言
C++
递交时间
2019-11-10 16:02:45
评测时间
2019-11-10 16:02:45
评测机
分数
80
总耗时
≥2018ms
峰值内存
≥7.5 MiB