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 listJun 21, 2023 17:11matsuoka-601matsuoka-601Score: 10,307Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2023 17:1110,143356,256,731330,727,0003,996,0002,469,888
2Jun 21, 2023 17:1110,204358,906,699332,742,0003,996,0002,457,600
3Jun 21, 2023 17:1110,205363,735,626331,779,0004,996,0002,457,600
4Jun 21, 2023 17:1110,226361,930,702331,472,0005,990,0002,285,568
5Jun 21, 2023 17:1110,272365,058,752333,965,0004,999,0002,465,792
6Jun 21, 2023 17:1110,290361,474,554334,574,0004,993,0002,453,504
7Jun 21, 2023 17:1110,307405,772,968340,139,34802,252,800
8Jun 21, 2023 17:1110,307366,438,971334,135,0005,984,0002,404,352
9Jun 21, 2023 17:1110,358361,995,358336,804,0004,997,0002,277,376
10Jun 21, 2023 17:1110,382415,810,007342,620,34402,252,800
11Jun 21, 2023 17:1110,399404,751,136343,171,60802,256,896
12Jun 21, 2023 17:1110,416366,349,420337,726,0005,995,0002,285,568