Borderou de evaluare (job #2324215)

Utilizator borscalinCalin-Stefan Georgescu borscalin Data 20 ianuarie 2019 13:58:48
Problema GrEA Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 45

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf ( fin, "%d%d ", &n, &k ); ^ main.cpp:16:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets ( s[0] + 1, NMAX + 5, fin ); ^ main.cpp:17:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets ( s[1] + 1, NMAX + 5, fin ); ^ 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:17:38: /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
13ms524kb░░░░░░░░▄▄▄▀▀▀▄▄███▄░░░░░░░░░░░░░5
26ms1048kb░░░░░▄▀▀░░░░░░░▐░▀██▌░░░░░░░░░░░░5
38ms1441kb░░░▄▀░░░░▄▄███░▌▀▀░▀█░░░░░░░░░░░░5
49ms1703kb░░▄█░░▄▀▀▒▒▒▒▒▄▐░░░░█▌░░░░░░░░░░░5
510ms1835kb░▐█▀▄▀▄▄▄▄▀▀▀▀▌░░░░░▐█▄░░░░░░░░░░5
610ms1966kb░▌▄▄▀▀░░░░░░░░▌░░░░▄███████▄░░░░░5
79ms1703kb░░░░░░░░░░░░░▐░░░░▐███████████▄░░5
85ms655kbKilled by Signal 110
95ms655kbKilled by Signal 110
105ms655kbKilled by Signal 110
115ms655kbKilled by Signal 110
124ms655kbKilled by Signal 110
1316ms4587kb░░░▄▀░░░░▄▄███░▌▀▀░▀█░░░░░░░░░░░░5
1417ms5111kb░░▄█░░▄▀▀▒▒▒▒▒▄▐░░░░█▌░░░░░░░░░░░5
155ms655kbKilled by Signal 110
165ms655kbKilled by Signal 110
175ms655kbKilled by Signal 110
184ms655kbKilled by Signal 110
195ms655kbKilled by Signal 110
205ms655kbKilled by Signal 110
Punctaj total45

Ceva nu functioneaza?