Time Exceeded

foo.cc: In function 'int main(int, char**)':
foo.cc:70:24: warning: division by zero [-Wdiv-by-zero]
   70 |             cout<<(a+b)/0<<endl;
      |                   ~~~~~^~
foo.cc:82:21: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
   82 |             s(ystem)("pause");
      |                     ^
foo.cc:74:42: warning: array subscript 134 is above array bounds of 'const char* [11]' [-Warray-bounds]
   74 |             cerr<<STATUS[STATUS_NUM + 123];
      |                                          ^
foo.cc:32:17: note: while referencing 'STATUS'
   32 |     const char *STATUS[]={"Accepted", "Time Limit Exceed", "Output Limit Exceed",
      |                 ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1100ms ≥384.0 KiB

信息

递交者
类型
递交
题目
P1000 输出“Hello World!"
语言
C++
递交时间
2022-08-05 18:05:48
评测时间
2022-08-05 18:05:48
评测机
分数
0
总耗时
≥1100ms
峰值内存
≥384.0 KiB