Borderou de evaluare (job #2357647)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 27 februarie 2019 17:09:47
Problema Inrudit Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:59:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&k); ^ main.cpp:60:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(n + 1,NMAX + 5,f); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:60:28: /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
18ms4194kbOK5
210ms4194kbOK5
310ms4194kbOK5
410ms4194kbOK5
510ms4194kbOK5
610ms4194kbOK5
710ms4194kbOK5
811ms4194kbOK5
910ms4194kbOK5
1011ms4194kbOK5
1111ms4194kbOK5
1211ms4194kbOK5
1311ms4194kbOK5
1411ms4194kbOK5
1511ms4194kbOK5
1611ms4194kbOK5
1711ms4194kbOK5
1811ms4194kbOK5
1911ms4194kbOK5
2011ms4194kbOK5
Punctaj total100

Ceva nu functioneaza?