Borderou de evaluare (job #2440206)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 17 iulie 2019 20:54:11
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("logs.in", "r", stdin); ^ main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("logs.out", "w", stdout); ^ main.cpp:23:40: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (s + 1, MAX_M + 3, stdin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:23:40: /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
13ms131kbIncorect0
27ms131kbOK10
316ms131kbOK10
475ms131kbOK10
5137ms131kbOK10
6194ms131kbOK10
7215ms131kbOK10
8502ms131kbTime limit exceeded0
97ms262kbKilled by Signal 110
107ms262kbKilled by Signal 110
Punctaj total60

Ceva nu functioneaza?