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 listMay 11, 2024 23:55Joad NacerJoad NacerScore: 12,216Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 23:5511,829417,803,311332,464,00057,906,0002,490,368
2May 11, 2024 23:5511,859423,996,335331,448,00059,900,0002,322,432
3May 11, 2024 23:5511,902417,093,715331,809,00060,965,0002,408,448
4May 11, 2024 23:5511,905419,173,061333,885,00058,979,0002,342,912
5May 11, 2024 23:5511,907415,849,935333,938,00058,989,0002,408,448
6May 11, 2024 23:5512,007422,441,659336,348,00059,883,0002,400,256
7May 11, 2024 23:5512,216425,632,089344,247,00058,871,0002,412,544
8May 11, 2024 23:5512,223478,638,022403,368,84102,199,552
9May 11, 2024 23:5512,251430,355,912345,392,00058,896,0002,387,968
10May 11, 2024 23:5512,294469,620,340405,708,59302,215,936
11May 11, 2024 23:5512,300470,219,329405,895,61702,203,648
12May 11, 2024 23:5512,327434,639,049346,811,00059,967,0002,519,040