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 listNov 11, 2024 10:14E SequeiraE SequeiraScore: 73,421Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 10:1472,7442,426,292,3652,379,569,00020,987,0002,338,816
2Nov 11, 2024 10:1472,7962,436,515,4482,377,276,00024,981,0002,392,064
3Nov 11, 2024 10:1473,1062,436,453,5342,388,525,00023,985,0002,465,792
4Nov 11, 2024 10:1473,2382,450,923,9682,390,857,00025,987,0002,281,472
5Nov 11, 2024 10:1473,4212,448,960,8632,397,895,00024,988,0002,383,872
6Nov 11, 2024 10:1473,5962,458,713,3172,402,695,00025,985,0002,494,464
7Nov 11, 2024 10:1473,6482,464,162,2752,410,401,00019,986,0002,494,464
8Nov 11, 2024 10:1474,0062,476,548,0642,420,225,00021,974,0002,281,472
9Nov 11, 2024 10:1474,1972,475,387,2762,426,509,00021,977,0002,367,488