Borderou de evaluare (job #2632409)

Utilizator OctavianCGOctavian Chiliment OctavianCG Data 3 iulie 2020 11:16:39
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &TN); ^ main.cpp:52:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(B + 1, NMax, fin); ^ main.cpp:58:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &w); ^ main.cpp:61:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(A + 1, NMax, fin); ^ In file included from /usr/include/stdio.h:936:0, from main.cpp:2: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:52: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); ^ In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:61:27: /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
13ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?