Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listJul 8, 2024 15:33matsuoka-601matsuoka-601Error
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2024 15:3400000Error: expected "1019423 ", got "1019422 "stderr
2Jul 8, 2024 15:4200000Error: expected "1025122 ", got "1025120 "stderr
3Jul 8, 2024 15:4200000Error: expected "1022796 ", got "1022795 "stderr
4Jul 8, 2024 15:4100000Error: expected "1019782 ", got "1019779 "stderr
5Jul 8, 2024 15:4000000Error: expected "1019218 ", got "1019217 "stderr
6Jul 8, 2024 15:3800000Error: expected "1024052 ", got "1024051 "stderr
7Jul 8, 2024 15:3800000Error: expected "1022448 ", got "1022445 "stderr
8Jul 8, 2024 15:3600000Error: expected "1019908 ", got "1019907 "stderr
9Jul 8, 2024 15:3500000Error: expected "1018904 ", got "1018903 "stderr
10Jul 8, 2024 15:3400000Error: expected "1025456 ", got "1025455 "stderr
11Jul 8, 2024 15:3300000Error: expected "1020960 ", got "1020958 "stderr
12Jul 8, 2024 15:394,261209,241,724140,600,08302,215,936
13Jul 8, 2024 15:394,268207,669,167140,859,17902,220,032
14Jul 8, 2024 15:394,291195,866,862141,606,38802,220,032
15Jul 8, 2024 15:394,313205,493,234142,315,87602,215,936
16Jul 8, 2024 15:394,314211,097,587142,359,54402,256,896
17Jul 8, 2024 15:394,354208,544,923143,672,03502,199,552