Borderou de evaluare (job #1501041)

Utilizator akaprosAna Kapros akapros Data 12 octombrie 2015 22:52:58
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int ok(int, int)’: user.cpp:25:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp: In function ‘void read()’: user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ user.cpp:34:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:38:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[nr]); ^ user.cpp: In function ‘void write()’: user.cpp:74:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ 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* gets(char*)’, inlined from ‘void read()’ at user.cpp:38:20: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/cct1EBJM.o: In function `read()': user.cpp:(.text+0x38b): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x361): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms336kbOK100
20ms332kbOK10
30ms380kbOK10
44ms532kbOK10
544ms976kbOK10
6280ms2208kbOK10
7Depăşit6640kbTime limit exceeded.0
8Depăşit11524kbTime limit exceeded.0
9Depăşit11524kbTime limit exceeded.0
10Depăşit11516kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?