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 listMay 13, 2026 19:30Pavel SkripkinPavel SkripkinError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2026 19:320597,940,136583,698,0003,430,0002,117,632expected "1020077 ", got "1020076 "
2May 13, 2026 19:3216,061539,378,918526,907,0003,109,0002,117,632
3May 13, 2026 19:3216,340548,501,585535,978,0003,256,0002,117,632
4May 13, 2026 19:3216,542556,300,801542,556,0003,355,0002,117,632
5May 13, 2026 19:3216,556553,908,456543,213,0003,146,0002,117,632
6May 13, 2026 19:3216,585556,684,140544,095,0003,214,0002,117,632
7May 13, 2026 19:3216,599555,191,185544,584,0003,212,0002,117,632
8May 13, 2026 19:3217,245578,156,938565,763,0003,349,0002,117,632
9May 13, 2026 19:3217,492587,077,966573,946,0003,297,0002,117,632