/ Vijos /

记录详情

Wrong Answer

In file included from /usr/include/c++/5/backward/hash_map:60:0,
                 from foo.cc:3:
/usr/include/c++/5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^
foo.cc: In function 'PV* get_hash_id(GMap*, char*, unsigned int, int)':
foo.cc:54:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(pv->encodeValue == encodeValue) {
                            ^
foo.cc: In function 'int main()':
foo.cc:117:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(buffer);
         ^
In file included from foo.cc:2:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:117:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(buffer);
         ^
In file included from foo.cc:2:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:117:20: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(buffer);
                    ^
In file included from foo.cc:2:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:122:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(buffer);
         ^
In file included from foo.cc:2:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:122:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(buffer);
         ^
In file included from foo.cc:2:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:122:20: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(buffer);
                    ^
In file included from foo.cc:2:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:178:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             if(prefix_len == 0 || prefix[k] == d_cArr[j] && ++k) {
                                                          ^
foo.cc:101:80: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     if(DEBUG) freopen("/home/stcdasqy/CLionProjects/vijos1/in.txt", "r", stdin);
                                                                                ^
foo.cc:105:58: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d%d", &total_s, &total_t, &s_len, &t_len); getchar();
                                                          ^
foo.cc:117:21: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
         gets(buffer);
                     ^
foo.cc:122:21: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
         gets(buffer);
                     ^
/tmp/ccywpdoD.o: In function `main':
foo.cc:(.text.startup+0xfa): warning: the `gets' function is dangerous and should not be used.

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-14T11:09:24.692Z","handle":"2020-05-14T11:09:24.692Z","cache_start":"2020-05-14T11:09:24.703Z","read_cases":"2020-05-14T11:09:24.809Z","judge":"2020-05-14T11:09:24.814Z","done":"2020-05-14T11:09:27.460Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 0 ,应为 1620 5ms 992.0 KiB
#2 Wrong Answer 读取到 0 ,应为 2028 4ms 920.0 KiB
#3 Wrong Answer 读取到 0 ,应为 25201 11ms 4.371 MiB
#4 Wrong Answer 读取到 0 ,应为 27910 10ms 4.316 MiB
#5 Wrong Answer 读取到 0 ,应为 31141 10ms 4.184 MiB
#6 Wrong Answer 读取到 0 ,应为 35669 10ms 4.332 MiB
#7 Wrong Answer 读取到 0 ,应为 285548 11ms 7.684 MiB
#8 Wrong Answer 读取到 0 ,应为 307156 11ms 7.465 MiB
#9 Wrong Answer 读取到 0 ,应为 333374 11ms 7.238 MiB
#10 Wrong Answer 读取到 0 ,应为 90223 10ms 6.504 MiB
#11 Wrong Answer 读取到 0 ,应为 99374 10ms 6.234 MiB
#12 Wrong Answer 读取到 0 ,应为 111074 10ms 6.254 MiB
#13 Wrong Answer 读取到 0 ,应为 1248979 47ms 22.195 MiB
#14 Wrong Answer 读取到 0 ,应为 1067436 65ms 20.359 MiB
#15 Wrong Answer 读取到 0 ,应为 307672 66ms 15.547 MiB
#16 Wrong Answer 读取到 0 ,应为 83431 64ms 10.996 MiB
#17 Wrong Answer 读取到 0 ,应为 4347415 39ms 22.195 MiB
#18 Wrong Answer 读取到 0 ,应为 15997802 26ms 15.379 MiB
#19 Wrong Answer 读取到 0 ,应为 364230 48ms 15.496 MiB
#20 Wrong Answer 读取到 0 ,应为 762279 46ms 21.051 MiB

信息

递交者
类型
递交
题目
P1960 双旋转字符串
语言
C++
递交时间
2020-05-14 19:09:24
评测时间
2020-05-14 19:09:24
评测机
分数
0
总耗时
524ms
峰值内存
22.195 MiB