/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:94:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i < s.size()){
         ~~^~~~~~~~~~
/in/foo.cc:97: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:87:14: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   return ans%MOD;
              ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Accepted 1ms 224.0 KiB
#4 Accepted 2ms 356.0 KiB
#5 Accepted 2ms 352.0 KiB
#6 Accepted 2ms 356.0 KiB
#7 Accepted 4ms 424.0 KiB
#8 Accepted 3ms 356.0 KiB
#9 Time Exceeded ≥1001ms ≥7.504 MiB
#10 Time Exceeded ≥1002ms ≥7.551 MiB

信息

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