Pagini recente »
Borderou de evaluare (job #587548)
|
Borderou de evaluare (job #705879)
|
Borderou de evaluare (job #839237)
|
Borderou de evaluare (job #586009)
|
Borderou de evaluare (job #839229)
Borderou de evaluare (job #839229)
Raport evaluator
Compilare:
main.cpp: In member function 'void HashMap::add(long long int)':
main.cpp:31:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
31 | printf("%d\n", val[-1293102120]);
| ~^ ~~~~~~~~~~~~~~~~
| | |
| int long long int
| %lld
main.cpp: In member function 'void HashMap::remove(long long int)':
main.cpp:52:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
52 | printf("%d\n", val[-1293102120]);
| ~^ ~~~~~~~~~~~~~~~~
| | |
| int long long int
| %lld
main.cpp: In member function 'bool HashMap::query(int)':
main.cpp:77:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
77 | printf("%d\n", val[-1293102120]);
| ~^ ~~~~~~~~~~~~~~~~
| | |
| int long long int
| %lld
In member function 'bool HashMap::query(int)',
inlined from 'int main()' at main.cpp:109:34:
main.cpp:77:23: warning: array subscript -1293102120 is below array bounds of 'long long int [1000001]' [-Warray-bounds=]
77 | printf("%d\n", val[-1293102120]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:10: note: while referencing 'HashMap::val'
13 | uint val[NMAX + 1], next[NMAX + 1], first[MOD], lastp = 0;
| ^~~
In member function 'void HashMap::remove(long long int)',
inlined from 'int main()' at main.cpp:106:22:
main.cpp:52:23: warning: array subscript -1293102120 is below array bounds of 'long long int [1000001]' [-Warray-bounds=]
52 | printf("%d\n", val[-1293102120]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:10: note: while referencing 'HashMap::val'
13 | uint val[NMAX + 1], next[NMAX + 1], first[MOD], lastp = 0;
| ^~~
In member function 'void HashMap::add(long long int)',
inlined from 'int main()' at main.cpp:103:19:
main.cpp:31:23: warning: array subscript -1293102120 is below array bounds of 'long long int [1000001]' [-Warray-bounds=]
31 | printf("%d\n", val[-1293102120]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:10: note: while referencing 'HashMap::val'
13 | uint val[NMAX + 1], next[NMAX + 1], first[MOD], lastp = 0;
| ^~~
In member function 'void HashMap::remove(long long int)',
inlined from 'int main()' at main.cpp:106:22:
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
Punctaj/grupă |
|
1
|
1 ms
|
296 kb
|
OK
|
10
|
10
|
|
2
|
1 ms
|
512 kb
|
OK
|
10
|
10
|
|
3
|
1 ms
|
296 kb
|
OK
|
10
|
10
|
|
4
|
20 ms
|
1024 kb
|
Incorect
|
0
|
0
|
|
5
|
25 ms
|
1576 kb
|
Incorect
|
0
|
|
6
|
32 ms
|
1832 kb
|
Incorect
|
0
|
|
7
|
87 ms
|
2600 kb
|
Incorect
|
0
|
0
|
|
8
|
334 ms
|
7224 kb
|
Incorect
|
0
|
0
|
|
9
|
depășit
|
10024 kb
|
Time limit exceeded.
|
0
|
|
10
|
depășit
|
9472 kb
|
Time limit exceeded.
|
0
|
|
Punctaj total
|
30
|