Borderou de evaluare (job #2137102)

Utilizator dobrandreiAndrei Dobra dobrandrei Data 20 februarie 2018 16:45:21
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 28

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int)’: user.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:31:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld %lld\n",&k,&q); ^ user.cpp:32:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s+1,100002,f); ^ user.cpp:35:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&n); ^ In file included from /usr/include/stdio.h:936:0, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:32:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms816kbPartial corect4
20ms868kbPartial corect2
30ms872kbPartial corect2
40ms816kbPartial corect2
516ms820kbPartial corect2
620ms824kbPartial corect2
720ms816kbPartial corect2
824ms824kbPartial corect2
90ms820kbPartial corect2
100ms860kbPartial corect2
110ms872kbKilled by signal 11(SIGSEGV).0
120ms812kbKilled by signal 11(SIGSEGV).0
1324ms836kbPartial corect2
1428ms856kbPartial corect2
1532ms932kbPartial corect2
160ms896kbKilled by signal 11(SIGSEGV).0
170ms908kbKilled by signal 11(SIGSEGV).0
180ms908kbKilled by signal 11(SIGSEGV).0
190ms972kbKilled by signal 6(SIGABRT).0
Punctaj total28

Ceva nu functioneaza?