Borderou de evaluare (job #2569828)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 4 martie 2020 13:50:03
Problema Mstack Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:151:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int total = 0; ^ main.cpp:159:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if(c[1] == 'p' && c[2] == 'u'){ ^ 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:159:26: /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
12ms131kbOK!10
23ms131kbOK!10
33ms131kbOK!10
43ms131kbOK!10
513ms262kbOK!10
646ms917kbOK!10
7126ms2228kbOK!10
8355ms7208kbOK!10
9613ms12451kbOK!10
10760ms15990kbOK!10
Punctaj total100

Ceva nu functioneaza?