/ Vijos /

记录详情

Accepted

/in/foo.cc:28:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
  main() {
       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:30:18: warning: unused variable 'pp' [-Wunused-variable]
  int t = 3,p = 4,pp = 4;
                  ^~
/in/foo.cc:45:9: warning: iteration 549996 invokes undefined behavior [-Waggressive-loop-optimizations]
    f[p] = f[p-1]+t;
    ~~~~~^~~~~~~~~~
/in/foo.cc:43:11: note: within this loop
   while(p < N) {
           ^
/in/foo.cc:37:9: warning: iteration 549997 invokes undefined behavior [-Waggressive-loop-optimizations]
    f[p] = f[p-1]+t;
    ~~~~~^~~~~~~~~~
/in/foo.cc:33:11: note: within this loop
   while(p < N) {
           ^
# 状态 耗时 内存占用
#1 Accepted 9ms 8.734 MiB
#2 Accepted 9ms 8.742 MiB

信息

递交者
类型
递交
题目
P1542 zgx的跳棋游戏
语言
C++
递交时间
2017-10-17 20:22:04
评测时间
2017-10-17 20:22:09
评测机
分数
100
总耗时
19ms
峰值内存
8.742 MiB