Pagini recente » Borderou de evaluare (job #287010) | Borderou de evaluare (job #3163810) | Borderou de evaluare (job #564697) | Borderou de evaluare (job #2905094) | Borderou de evaluare (job #38405)
Borderou de evaluare (job #38405)
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 | OK | 5 |
2 | 0ms | 8kb | Incorect | 0 |
3 | 0ms | 12kb | OK | 5 |
4 | 0ms | 12kb | OK | 5 |
5 | 0ms | 8kb | OK | 5 |
6 | 0ms | 12kb | OK | 5 |
7 | 4ms | 8kb | OK | 5 |
8 | 0ms | 8kb | OK | 5 |
9 | 0ms | 8kb | OK | 5 |
10 | 4ms | 12kb | OK | 5 |
11 | 4ms | 16kb | OK | 5 |
12 | 4ms | 12kb | OK | 5 |
13 | 4ms | 340kb | OK | 5 |
14 | 4ms | 8kb | OK | 5 |
15 | 4ms | 292kb | OK | 5 |
16 | 8ms | 296kb | OK | 5 |
17 | 8ms | 292kb | OK | 5 |
18 | 8ms | 380kb | OK | 5 |
19 | 8ms | 380kb | OK | 5 |
20 | 8ms | 288kb | OK | 5 |
Punctaj total | 0 |