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 13:55TudyMTudyMScore: 39,671Success
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:0739,2261,309,257,7361,280,467,00013,994,0002,306,048
2Apr 29, 2026 14:0739,2371,308,414,1381,278,855,00015,998,0002,486,272
3Apr 29, 2026 14:0739,4981,326,140,8931,286,453,00016,992,0002,498,560
4Apr 29, 2026 14:0739,6041,329,737,6311,293,951,00012,989,0002,392,064
5Apr 29, 2026 14:0739,6711,325,685,8821,291,166,00017,988,0002,555,904
6Apr 29, 2026 14:0739,7391,333,501,1501,296,409,00014,993,0002,555,904
7Apr 29, 2026 14:0740,3191,348,285,7451,316,578,00013,974,0002,367,488
8Apr 29, 2026 14:0740,3781,354,430,8251,318,508,00013,973,0002,400,256
9Apr 29, 2026 14:0740,3941,350,811,9221,318,035,00014,977,0002,293,760