Pagini recente » Borderou de evaluare (job #2556979) | Borderou de evaluare (job #38414)
Borderou de evaluare (job #38414)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citire()’:
user.cpp:44:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&n);
^
user.cpp:46:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d %d %d",&C[i].x,&C[i].y,&C[i].r);
^
user.cpp:46:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:46:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void init()’:
user.cpp:71:7: error: reference to ‘hash’ is ambiguous
hash[i]=NULL;
^
user.cpp:36:11: note: candidates are: NOD_HASH* hash [10002]
NOD_HASH *hash[M+2];
^
In file included from /usr/include/c++/5/bits/basic_string.h:5471:0,
from /usr/include/c++/5/string:52,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from user.cpp:8:
/usr/include/c++/5/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
user.cpp: In function ‘long long int cauta_hash(long double, long double)’:
user.cpp:129:16: error: reference to ‘hash’ is ambiguous
NOD_HASH *b=hash[key];
^
user.cpp:36:11: note: candidates are: NOD_HASH* hash [10002]
NOD_HASH *hash[M+2];
^
In file included from /usr/include/c++/5/bits/basic_string.h:5471:0,
from /usr/include/c++/5/string:52,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from user.cpp:8:
/usr/include/c++/5/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
user.cpp: In function ‘void adauga_hash(long double&, long double&, long long int&)’:
user.cpp:144:11: error: reference to ‘hash’ is ambiguous
a->adr=hash[key];
^
user.cpp:36:11: note: candidates are: NOD_HASH* hash [10002]
NOD_HASH *hash[M+2];
^
In file included from /usr/include/c++/5/bits/basic_string.h:5471:0,
from /usr/include/c++/5/string:52,
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 8kb | Incorect | 0 |
2 | 0ms | 8kb | Incorect | 0 |
3 | 0ms | 8kb | Incorect | 0 |
4 | 0ms | 8kb | Incorect | 0 |
5 | 0ms | 12kb | Incorect | 0 |
6 | 0ms | 12kb | Incorect | 0 |
7 | 0ms | 8kb | Incorect | 0 |
8 | 0ms | 8kb | Incorect | 0 |
9 | 4ms | 12kb | Incorect | 0 |
10 | 4ms | 12kb | Incorect | 0 |
11 | 4ms | 8kb | Incorect | 0 |
12 | 4ms | 8kb | Incorect | 0 |
13 | 4ms | 332kb | Incorect | 0 |
14 | 4ms | 8kb | Incorect | 0 |
15 | 4ms | 284kb | Incorect | 0 |
16 | 8ms | 288kb | Incorect | 0 |
17 | 8ms | 284kb | Incorect | 0 |
18 | 12ms | 372kb | Incorect | 0 |
19 | 12ms | 376kb | Incorect | 0 |
20 | 4ms | 284kb | Incorect | 0 |
Punctaj total | 0 |