Pagini recente » Borderou de evaluare (job #1731588) | Borderou de evaluare (job #2956931) | Borderou de evaluare (job #988580) | Borderou de evaluare (job #290114) | Borderou de evaluare (job #1394920)
Borderou de evaluare (job #1394920)
Raport evaluator
Compilare:
user.cpp: In function ‘void eliminare_fraieri()’:
user.cpp:73:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (vecini[i].size() < k)
^
user.cpp:84:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (!eliminat[aux2] && vecini[aux2].size() < k)
^
user.cpp: In function ‘void citire()’:
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.in","r",stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.out","w",stdout);
^
user.cpp:26:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&k);
^
user.cpp:28:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir[i] + 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 ‘void citire()’ at user.cpp:28:25:
/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/ccHl31Sf.o: In function `citire()':
user.cpp:(.text+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 4680kb | OK | 10 |
2 | 0ms | 2496kb | OK | 10 |
3 | 4ms | 2576kb | OK | 10 |
4 | 4ms | 2712kb | OK | 10 |
5 | 8ms | 2804kb | OK | 10 |
6 | 8ms | 2800kb | OK | 10 |
7 | 4ms | 2800kb | OK | 10 |
8 | 20ms | 3476kb | OK | 10 |
9 | 40ms | 4500kb | OK | 10 |
10 | 40ms | 4572kb | OK | 10 |
Punctaj total | 100 |