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:45TudyMTudyMScore: 25,099Success
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:4624,901837,576,581798,768,00022,993,0002,514,944
2Apr 29, 2026 14:4625,006841,298,853802,224,00022,977,0002,318,336
3Apr 29, 2026 14:4625,011842,606,200797,392,00027,978,0002,531,328
4Apr 29, 2026 14:4625,078849,239,387807,610,00019,990,0002,535,424
5Apr 29, 2026 14:4625,099846,872,710799,318,00028,975,0002,408,448
6Apr 29, 2026 14:4625,125848,202,121809,154,00020,003,0002,527,232
7Apr 29, 2026 14:4625,162848,110,106806,376,00023,981,0002,547,712
8Apr 29, 2026 14:4625,180848,651,008802,973,00027,999,0002,535,424
9Apr 29, 2026 14:4625,509854,548,603815,824,00025,994,0002,523,136