Borderou de evaluare (job #1888914)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 22 februarie 2017 13:47:05
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] { freopen("dir.in", "r", stdin); ^ user.cpp:65:62: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s + 1, 1650, stdin), n = strlen(s + 1) - 1, ind = 1; ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:65:62: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit392kbTime limit exceeded.0
2Depăşit392kbTime limit exceeded.0
3Depăşit392kbTime limit exceeded.0
4Depăşit392kbTime limit exceeded.0
5Depăşit392kbTime limit exceeded.0
6Depăşit392kbTime limit exceeded.0
7Depăşit404kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9Depăşit404kbTime limit exceeded.0
10Depăşit388kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?