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 listOct 30, 2026 01:04Andrew EpsteinAndrew EpsteinScore: 59,577Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 01:1958,8541,953,726,1091,933,832,0008,382,0002,121,728stderr
2Oct 30, 2026 01:1959,1711,963,700,0101,944,261,0008,408,0002,121,728stderr
3Oct 30, 2026 01:1959,2621,967,144,3831,947,265,0008,385,0002,121,728stderr
4Oct 30, 2026 01:1959,4941,974,474,7571,954,989,0008,335,0002,121,728stderr
5Oct 30, 2026 01:1959,5771,976,989,4611,957,643,0008,413,0002,121,728stderr
6Oct 30, 2026 01:1959,6551,979,591,1171,960,139,0008,497,0002,121,728stderr
7Oct 30, 2026 01:1959,7391,982,316,0511,962,990,0008,407,0002,121,728stderr
8Oct 30, 2026 01:1959,8861,989,429,9071,967,044,0009,224,0002,121,728stderr
9Oct 30, 2026 01:1960,1871,997,169,5461,977,760,0008,422,0002,121,728stderr