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 7, 2026 20:36Aman | अमनAman | अमनScore: 25,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2026 20:3625,289858,631,207818,540,00015,991,0002,478,080
2Jan 7, 2026 20:3625,373869,609,102822,323,00014,987,0002,523,136
3Jan 7, 2026 20:3625,421869,151,310824,884,00013,998,0002,445,312
4Jan 7, 2026 20:3625,459869,553,797824,160,00015,983,0002,379,776
5Jan 7, 2026 20:3625,468871,777,877819,462,00020,986,0002,523,136
6Jan 7, 2026 20:3625,836876,976,820843,608,0008,995,0002,322,432
7Jan 7, 2026 20:3626,084888,727,358843,771,00016,995,0002,416,640
8Jan 7, 2026 20:3626,480904,343,164856,868,00016,977,0002,363,392
9Jan 7, 2026 20:3626,635899,460,227862,964,00015,999,0002,408,448