Borderou de evaluare (job #1892409)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 24 februarie 2017 22:31:58
Problema Ec Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 13

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&N,&K); ^ user.cpp:29:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&a,&b); ^ user.cpp:33:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"\n"); ^ user.cpp:37:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(ec+1,105,f); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:37:26: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms288kbGresit!3
30ms284kbGresit!0
40ms388kbKilled by signal 6(SIGABRT).0
50ms392kbKilled by signal 6(SIGABRT).0
60ms288kbGresit!0
70ms400kbKilled by signal 6(SIGABRT).0
80ms404kbKilled by signal 6(SIGABRT).0
90ms384kbKilled by signal 6(SIGABRT).0
100ms384kbKilled by signal 6(SIGABRT).0
Punctaj total13

Ceva nu functioneaza?