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 9, 2024 23:25E SequeiraE SequeiraScore: 140,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2024 23:25139,2794,623,082,4024,577,229,00018,988,0002,334,720
2Nov 9, 2024 23:25139,3054,630,099,4584,574,080,00022,985,0002,334,720
3Nov 9, 2024 23:25139,3594,633,083,4324,576,857,00021,984,0002,334,720
4Nov 9, 2024 23:25140,0104,667,506,7734,594,375,00025,968,0002,334,720
5Nov 9, 2024 23:25140,1214,655,127,1274,603,020,00020,986,0002,326,528
6Nov 9, 2024 23:25140,1484,656,697,0654,605,883,00018,987,0002,420,736
7Nov 9, 2024 23:25140,3834,665,424,0694,609,653,00022,988,0002,478,080
8Nov 9, 2024 23:25140,7004,678,157,9004,621,103,00021,986,0002,473,984
9Nov 9, 2024 23:25140,8244,684,464,1354,620,225,00026,966,0002,334,720