Borderou de evaluare (job #846283)

Utilizator visanrVisan Radu visanr Data 1 ianuarie 2013 20:03:21
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:24: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccP9Ddrc.o: In function `main': user.cpp:(.text+0x90): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x1c1): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
184ms64840kbOK5
284ms64884kbOK5
384ms65056kbOK5
484ms65196kbOK5
588ms65328kbOK5
684ms65080kbOK5
7132ms65532kbOK5
8140ms65536kbOK5
9120msDepăşitMemory limit exceeded.0
10120msDepăşitMemory limit exceeded.0
11120msDepăşitMemory limit exceeded.0
12116msDepăşitMemory limit exceeded.0
13116msDepăşitMemory limit exceeded.0
14116msDepăşitMemory limit exceeded.0
15256ms65484kbOK5
1696msDepăşitMemory limit exceeded.0
17104msDepăşitMemory limit exceeded.0
18120msDepăşitMemory limit exceeded.0
19120msDepăşitMemory limit exceeded.0
20116msDepăşitMemory limit exceeded.0
Punctaj total45

Ceva nu functioneaza?