Borderou de evaluare (job #1567140)

Utilizator geniucosOncescu Costin geniucos Data 12 ianuarie 2016 22:25:11
Problema Evo Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("evo.in", "r", stdin); ^ user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("evo.out", "w", stdout); ^ user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &nr); ^ user.cpp:25:52: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (init[i] + 1), l[i] = strlen (init[i] + 1); ^ user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &M); ^ user.cpp:30:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1), N = strlen (sir + 1); ^ 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 ‘int main()’ at user.cpp:25:52: /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/ccLXcDiP.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0xcd): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbOK55
20ms428kbOK55
30ms288kbOK55
420ms784kbOK55
524ms796kbOK55
6100ms1284kbOK55
784ms1292kbOK55
8144ms1976kbOK55
9440ms1980kbOK55
10244ms1988kbOK55
11136ms2540kbOK55
12Depăşit7112kbTime limit exceeded.00
130ms244kbKilled by signal 11(SIGSEGV).00
14Depăşit10532kbTime limit exceeded.0
15Depăşit5736kbTime limit exceeded.0
16Depăşit10536kbTime limit exceeded.0
170ms240kbKilled by signal 11(SIGSEGV).00
180ms248kbKilled by signal 11(SIGSEGV).00
190ms248kbKilled by signal 11(SIGSEGV).00
200ms244kbKilled by signal 11(SIGSEGV).00
Punctaj total55

Ceva nu functioneaza?