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 17, 2024 12:16Sybrand AarnoutseSybrand AarnoutseScore: 96,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2024 12:1695,6913,187,100,7803,137,810,00019,992,0002,473,984
2Oct 17, 2024 12:1695,7283,188,789,1923,138,032,00020,986,0002,449,408
3Oct 17, 2024 12:1695,7803,191,742,4143,136,749,00023,990,0002,473,984
4Oct 17, 2024 12:1696,3193,208,394,7013,157,535,00020,990,0002,445,312
5Oct 17, 2024 12:1696,5833,217,838,5063,168,249,00018,989,0002,445,312
6Oct 17, 2024 12:1698,3383,278,951,7693,219,171,00025,985,0002,445,312
7Oct 17, 2024 12:1698,9093,299,771,9323,236,006,00027,982,0002,289,664
8Oct 17, 2024 12:1699,1013,297,140,1583,244,363,00025,986,0002,445,312
9Oct 17, 2024 12:16100,0593,334,612,2693,281,960,00019,987,0002,473,984