Pagini recente » Borderou de evaluare (job #1562977) | Borderou de evaluare (job #615408) | Borderou de evaluare (job #2480509) | Borderou de evaluare (job #1271240) | Borderou de evaluare (job #1320385)
Borderou de evaluare (job #1320385)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Buffer::isDigit(char)’:
user.cpp:34:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
return c >= '0' & c <= '9';
^
user.cpp: In function ‘void dfs(long int)’:
user.cpp:57:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:88:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Buffer cin("kdtree.in",1024*1024);
^
user.cpp:89:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdtree.out","w",stdout);
^
user.cpp: In constructor ‘Buffer::Buffer(char*, long int)’:
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fileName,"r",stdin);
^
user.cpp: In member function ‘void Buffer::reFill()’:
user.cpp:37:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&Buff[0],1,maxBuf,stdin); pos = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3692kb | Incorect | 0 |
2 | 4ms | 3692kb | OK | 5 |
3 | 4ms | 3692kb | Incorect | 0 |
4 | 4ms | 3692kb | Incorect | 0 |
5 | 4ms | 3692kb | Incorect | 0 |
6 | 4ms | 3692kb | Incorect | 0 |
7 | 4ms | 3692kb | Incorect | 0 |
8 | 4ms | 3692kb | Incorect | 0 |
9 | 48ms | 6244kb | Incorect | 0 |
10 | 48ms | 6236kb | Incorect | 0 |
11 | 52ms | 6236kb | Incorect | 0 |
12 | 52ms | 6008kb | Incorect | 0 |
13 | 48ms | 6008kb | Incorect | 0 |
14 | 52ms | 6012kb | Incorect | 0 |
15 | 92ms | 9840kb | Incorect | 0 |
16 | 92ms | 9876kb | Incorect | 0 |
17 | 92ms | 10368kb | Incorect | 0 |
18 | 92ms | 10652kb | Incorect | 0 |
19 | 92ms | 11192kb | Incorect | 0 |
20 | 96ms | 12244kb | Incorect | 0 |
Punctaj total | 5 |