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 29, 2026 14:19TudyMTudyMScore: 29,352Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 14:2029,244983,627,092949,058,00016,000,0002,293,760
2Apr 29, 2026 14:2029,295986,125,576949,745,00016,995,0002,555,904
3Apr 29, 2026 14:2029,339991,105,663952,196,00016,003,0002,564,096
4Apr 29, 2026 14:2029,345991,532,899951,425,00016,989,0002,301,952
5Apr 29, 2026 14:2029,352987,344,471952,645,00015,994,0002,293,760
6Apr 29, 2026 14:2029,467994,440,172955,439,00016,990,0002,297,856
7Apr 29, 2026 14:2029,514988,611,163955,972,00017,999,0002,498,560
8Apr 29, 2026 14:2029,572995,110,936956,884,00018,997,0002,293,760
9Apr 29, 2026 14:2030,3861,019,689,623983,793,00018,976,0002,367,488