Borderou de evaluare (job #2025253)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 22 septembrie 2017 11:08:46
Problema Teroristi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d\n",&N,&M); ^ user.cpp:67:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(c+1,1000005,f); ^ user.cpp:94:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c %c\n",&a,&b); ^ 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:67:25: /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
112ms7636kbOk!10
212ms7660kbOk!10
312ms7732kbOk!10
424ms7728kbOk!10
528ms7736kbOk!10
664ms8464kbOk!10
7192ms12324kbOk!10
8316ms16692kbOk!10
9416ms19528kbOk!10
10512ms22096kbOk!10
Punctaj total100

Ceva nu functioneaza?