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 23:24Joad NacerJoad NacerError
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 23:2800000Error: expected "1022288 ", got "1022287 "stderr
2Jul 8, 2024 23:3900000Error: No answer to stdout. Died or killed?stderr
3Jul 8, 2024 23:3900000Error: expected "1020345 ", got "1020343 "stderr
4Jul 8, 2024 23:3900000Error: expected "1024195 ", got "1024194 "stderr
5Jul 8, 2024 23:3900000Error: expected "1026251 ", got "1026249 "stderr
6Jul 8, 2024 23:3800000Error: expected "1023578 ", got "1023576 "stderr
7Jul 8, 2024 23:2900000Error: expected "1022457 ", got "1022456 "stderr
8Jul 8, 2024 23:2900000Error: expected "1023353 ", got "1023349 "stderr
9Jul 8, 2024 23:2900000Error: expected "1023678 ", got "1023677 "stderr
10Jul 8, 2024 23:2900000Error: expected "1024200 ", got "1024199 "stderr
11Jul 8, 2024 23:2900000Error: expected "1024479 ", got "1024477 "stderr
12Jul 8, 2024 23:2900000Error: expected "1023145 ", got "1023142 "stderr
13Jul 8, 2024 23:2800000Error: expected "1026079 ", got "1026078 "stderr
14Jul 8, 2024 23:2400000Error: expected "1019628 ", got "1019627 "stderr
15Jul 8, 2024 23:2800000Error: expected "1025727 ", got "1025723 "stderr
16Jul 8, 2024 23:2800000Error: expected "1021062 ", got "1021059 "stderr
17Jul 8, 2024 23:2800000Error: expected "1023057 ", got "1023056 "stderr
18Jul 8, 2024 23:2800000Error: expected "1022917 ", got "1022916 "stderr
19Jul 8, 2024 23:2800000Error: expected "1023682 ", got "1023681 "stderr
20Jul 8, 2024 23:2800000Error: expected "1025817 ", got "1025816 "stderr
21Jul 8, 2024 23:2800000Error: expected "1024271 ", got "1024270 "stderr
22Jul 8, 2024 23:2800000Error: expected "1019686 ", got "1019684 "stderr
23Jul 8, 2024 23:2800000Error: expected "1022599 ", got "1022595 "stderr
24Jul 8, 2024 23:2800000Error: expected "1021829 ", got "1021828 "stderr
25Jul 8, 2024 23:2800000Error: expected "1025871 ", got "1025868 "stderr
26Jul 8, 2024 23:2800000Error: expected "1019203 ", got "1019201 "stderr