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 listSep 26, 2025 09:21Ruoyu QiuRuoyu QiuScore: 490,692Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2025 09:21487,11916,110,845,75215,967,977,000106,939,0002,473,984
2Sep 26, 2025 09:21488,07716,150,191,53216,000,621,000105,924,0002,363,392
3Sep 26, 2025 09:21488,16816,148,369,01416,003,592,000105,937,0002,318,336
4Sep 26, 2025 09:21489,17716,179,561,91616,061,883,00080,949,0002,482,176
5Sep 26, 2025 09:21490,69216,233,003,43316,091,890,000100,936,0002,392,064
6Sep 26, 2025 09:21490,99816,238,906,17416,098,011,000104,928,0002,310,144
7Sep 26, 2025 09:21492,52116,287,549,87816,158,249,00094,942,0002,465,792
8Sep 26, 2025 09:21493,25416,310,165,94916,172,431,000104,937,0002,310,144
9Sep 26, 2025 09:21493,54616,329,424,32616,170,103,000116,928,0002,285,568