Borderou de evaluare (job #1734485)

Utilizator akaprosAna Kapros akapros Data 27 iulie 2016 15:07:27
Problema Dame 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 48

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dame2.in", "r", stdin); ^ user.cpp:17:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i]); ^ user.cpp: In function ‘void write()’: user.cpp:171:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dame2.out", "w", stdout); ^ 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* gets(char*)’, inlined from ‘void read()’ at user.cpp:17:19: /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/ccZDdufA.o: In function `read()': user.cpp:(.text+0x4c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit356kbTime limit exceeded.0
228ms400kbOK4
30ms396kbOK4
40ms404kbOK4
540ms400kbOK4
6124ms400kbOK4
7Depăşit352kbTime limit exceeded.0
8Depăşit356kbTime limit exceeded.0
9Depăşit352kbTime limit exceeded.0
10Depăşit356kbTime limit exceeded.0
11Depăşit356kbTime limit exceeded.0
12Depăşit356kbTime limit exceeded.0
130ms400kbOK4
140ms404kbOK4
15Depăşit356kbTime limit exceeded.0
16Depăşit356kbTime limit exceeded.0
17Depăşit356kbTime limit exceeded.0
18Depăşit356kbTime limit exceeded.0
19Depăşit356kbTime limit exceeded.0
2076ms404kbOK4
2192ms404kbOK4
2256ms400kbOK4
2368ms400kbOK4
240ms400kbOK4
25Depăşit356kbTime limit exceeded.0
Punctaj total48

Ceva nu functioneaza?