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 listApr 27, 2026 20:39Pavel SkripkinPavel SkripkinScore: 26,817Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 20:4025,823871,540,456849,173,0002,997,0002,404,352
2Apr 27, 2026 20:4026,283886,264,616863,343,0003,996,0002,392,064
3Apr 27, 2026 20:4026,541895,435,820870,858,0004,999,0002,326,528
4Apr 27, 2026 20:4026,652897,115,195875,529,0003,997,0002,392,064
5Apr 27, 2026 20:4026,817900,302,374880,992,0003,995,0002,392,064
6Apr 27, 2026 20:4028,399954,897,426933,188,0003,996,0002,392,064
7Apr 27, 2026 20:4028,433958,008,682934,316,0003,997,0002,400,256
8Apr 27, 2026 20:4028,629962,024,297940,778,0003,994,0002,338,816
9Apr 27, 2026 20:4028,704966,820,863943,249,0003,996,0002,322,432