/ Vijos /

记录详情

System Error

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/cc34cnZx.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)
Cannot connect to sandbox service
Error: Cannot connect to sandbox service
    at run (/root/jd5/judger/sandbox/executionServer.js:84:15)
    at /root/jd5/judger/judger/default.js:30:27
    at cases.push.ctx.queue.add (/root/jd5/judger/judger/default.js:100:73)
    at run (/root/jd5/node_modules/p-queue/dist/index.js:249:104)
    at PQueue._tryToStartAnother (/root/jd5/node_modules/p-queue/dist/index.js:197:38)
    at Promise (/root/jd5/node_modules/p-queue/dist/index.js:263:18)
    at new Promise (<anonymous>)
    at PQueue.add (/root/jd5/node_modules/p-queue/dist/index.js:244:16)
    at /root/jd5/judger/judger/default.js:100:34
    at Object.exports.judge (/root/jd5/judger/judger/default.js:144:93)
[]

信息

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