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 listJan 2, 2026 17:34zielajzielajScore: 3,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 17:343,207129,529,029104,831,000998,0002,506,752
2Jan 2, 2026 17:363,244125,710,645106,064,0001,000,0002,273,280
3Jan 2, 2026 17:343,266131,912,665106,771,000997,0002,424,832
4Jan 2, 2026 17:343,269136,859,348104,868,0002,996,0002,420,736
5Jan 2, 2026 17:343,276136,495,509106,110,0002,002,0002,273,280
6Jan 2, 2026 17:363,280133,218,271105,228,0003,006,0002,269,184
7Jan 2, 2026 17:343,296141,395,188108,776,00002,408,448
8Jan 2, 2026 17:343,297133,431,239107,807,000998,0002,273,280
9Jan 2, 2026 17:343,351139,871,826109,565,0001,005,0002,428,928
10Jan 2, 2026 17:363,379132,391,779109,487,0002,008,0002,412,544
11Jan 2, 2026 17:343,389135,078,836108,832,0002,995,0002,531,328
12Jan 2, 2026 17:343,570144,312,573114,820,0002,995,0002,273,280