Borderou de evaluare (job #2137096)

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

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int)’: user.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:35: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:36: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:39: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:36: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
10ms820kbPartial corect4
20ms820kbIncorect0
30ms820kbIncorect0
40ms816kbIncorect0
516ms816kbIncorect0
620ms824kbIncorect0
720ms820kbIncorect0
824ms932kbIncorect0
90ms864kbKilled by signal 11(SIGSEGV).0
10Depăşit936kbTime limit exceeded.0
11Depăşit864kbTime limit exceeded.0
120ms876kbKilled by signal 11(SIGSEGV).0
130ms836kbKilled by signal 11(SIGSEGV).0
140ms852kbKilled by signal 11(SIGSEGV).0
15Depăşit876kbTime limit exceeded.0
16Depăşit900kbTime limit exceeded.0
17Depăşit936kbTime limit exceeded.0
18Depăşit904kbTime limit exceeded.0
190ms968kbKilled by signal 6(SIGABRT).0
Punctaj total4

Ceva nu functioneaza?