/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:117:26: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     for(int i=0;i<n;i++) gets(sm[i]);
                          ^~~~
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:117:36: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     for(int i=0;i<n;i++) gets(sm[i]);
                                    ^
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:170:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                         if(sm[i][j] == 'x' && (curArr[j] & 0x1)
                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:172:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                            || j>=1 && (curArr[j] & 0x1) && (curArr[RI] & 0x1)
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:261:13: warning: unused variable 'keep_0' [-Wunused-variable]
         int keep_0 = 0;
             ^~~~~~
/tmp/ccCG4ucZ.o: In function `main':
foo.cc:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 4ms 1.465 MiB
#2 Wrong Answer 38ms 1.547 MiB
#3 Accepted 50ms 1.543 MiB
#4 Accepted 306ms 1.543 MiB
#5 Time Exceeded ≥3002ms ≥1.465 MiB
#6 Time Exceeded ≥3001ms ≥1.453 MiB
#7 Time Exceeded ≥5003ms ≥1.469 MiB
#8 Time Exceeded ≥5004ms ≥1.457 MiB
#9 Time Exceeded ≥7001ms ≥1.465 MiB
#10 Time Exceeded ≥7003ms ≥1.453 MiB

信息

递交者
类型
递交
题目
P1581 多米诺骨牌
语言
C++
递交时间
2020-05-01 01:35:48
评测时间
2020-05-01 01:35:48
评测机
分数
30
总耗时
≥30417ms
峰值内存
≥1.547 MiB