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 2, 2024 20:54Henry CafaroHenry CafaroScore: 16,790Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 20:5416,629572,464,236530,753,00017,991,0002,277,376
2Aug 2, 2024 20:5416,653577,184,094529,566,00019,983,0002,404,352
3Aug 2, 2024 20:5416,671573,482,368533,151,00017,004,0002,437,120
4Aug 2, 2024 20:5416,727575,077,739536,981,00014,999,0002,424,832
5Aug 2, 2024 20:5416,753581,610,439533,856,00018,994,0002,277,376
6Aug 2, 2024 20:5416,773581,575,664537,486,00016,014,0002,420,736
7Aug 2, 2024 20:5416,790578,942,961537,068,00017,002,0002,260,992
8Aug 2, 2024 20:5416,811576,692,701539,776,00014,993,0002,469,888
9Aug 2, 2024 20:5417,167586,699,229551,535,00014,987,0002,277,376
10Aug 2, 2024 20:5417,478652,203,193576,777,62802,265,088
11Aug 2, 2024 20:5417,804657,085,933587,537,71202,265,088
12Aug 2, 2024 20:5417,965655,021,817592,850,23102,273,280