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 listDec 17, 2022 22:55Franek KortaFranek KortaScore: 16,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 22:5516,477563,408,688529,751,00013,993,0002,392,064
2Dec 17, 2022 22:5516,487569,644,885533,059,00011,001,0002,367,488
3Dec 17, 2022 22:5516,490570,364,054532,167,00012,003,0002,359,296
4Dec 17, 2022 22:5516,494571,502,141527,300,00017,009,0002,355,200
5Dec 17, 2022 22:5516,501571,210,322530,538,00013,987,0002,441,216
6Dec 17, 2022 22:5516,501572,333,300525,564,00018,984,0002,359,296
7Dec 17, 2022 22:5516,519570,672,904526,108,00019,003,0002,363,392
8Dec 17, 2022 22:5516,535566,615,893528,682,00016,989,0002,363,392
9Dec 17, 2022 22:5516,579572,992,977531,128,00015,973,0002,404,352
10Dec 17, 2022 22:5517,191650,620,675567,287,40002,277,376
11Dec 17, 2022 22:5517,209630,698,480567,898,03902,273,280
12Dec 17, 2022 22:5517,237640,338,662568,805,13802,281,472