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 26, 2026 18:51TudyMTudyMScore: 40,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 18:5239,6021,324,442,2431,282,898,00023,998,0002,498,560
2Apr 26, 2026 18:5240,3241,350,013,3151,305,704,00024,994,0002,486,272
3Apr 26, 2026 18:5240,3441,351,909,7931,305,367,00025,987,0002,551,808
4Apr 26, 2026 18:5240,4311,349,089,6931,305,263,00028,983,0002,498,560
5Apr 26, 2026 18:5240,6401,357,147,2601,319,148,00021,985,0002,490,368
6Apr 26, 2026 18:5240,6471,361,157,9041,318,374,00022,989,0002,490,368
7Apr 26, 2026 18:5240,7001,359,677,4241,322,145,00020,986,0002,490,368
8Apr 26, 2026 18:5240,8011,366,627,0681,317,446,00028,987,0002,551,808
9Apr 26, 2026 18:5240,9661,368,422,2791,329,909,00021,981,0002,293,760