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 listAug 11, 2025 19:42Leon ZhaoLeon ZhaoScore: 197,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2025 19:42193,7786,421,707,6846,374,675,00019,989,0002,478,080
2Aug 11, 2025 19:42195,6306,484,295,6886,436,807,00018,987,0002,510,848
3Aug 11, 2025 19:42196,4986,517,079,1206,460,458,00023,983,0002,490,368
4Aug 11, 2025 19:42197,3306,542,834,1106,497,903,00013,991,0002,486,272
5Aug 11, 2025 19:42197,6966,555,794,6996,503,982,00019,987,0002,486,272
6Aug 11, 2025 19:42198,6586,582,296,4776,537,723,00017,988,0002,412,544
7Aug 11, 2025 19:42199,3166,609,591,7916,559,428,00017,990,0002,273,280
8Aug 11, 2025 19:42199,6346,616,992,3066,562,944,00024,980,0002,330,624
9Aug 11, 2025 19:42199,6956,627,590,4496,576,936,00012,989,0002,367,488