Borderou de evaluare (job #2617788)

Utilizator valentinchipuc123Valentin Chipuc valentinchipuc123 Data 22 mai 2020 21:08:12
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ main.cpp:21:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT, "w", stdout); ^ main.cpp:23:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &N, &M); ^ main.cpp:30:39: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s + 1, MAX_N, stdin); ^ 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:30:39: /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
12ms131kbOK10
27ms131kbOK10
317ms131kbOK10
483ms131kbOK10
599ms262kbOK10
6197ms131kbOK10
7209ms131kbOK10
8361ms131kbOK10
9286ms131kbOK10
10276ms131kbOK10
Punctaj total100

Ceva nu functioneaza?