Borderou de evaluare (job #1335878)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 6 februarie 2015 00:05:05
Problema Semne3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < nxt[curr].size(); i++) { ^ user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(inFile, "r", stdin); ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(outFile, "w", stdout); ^ user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:25:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s+1, MAX_LEN, stdin); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:25:31: /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
18ms6148kbGresit.0
28ms6152kbGresit.0
38ms6148kbGresit.0
48ms6172kbGresit.0
556ms8180kbGresit.0
652ms7940kbGresit.0
7100ms9632kbGresit.0
8148ms11620kbGresit.0
9204ms13652kbGresit.0
10284ms15836kbGresit.0
Punctaj total0

Ceva nu functioneaza?