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 23:04Franek KortaFranek KortaScore: 16,493Success
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 23:0416,372562,792,232522,277,00018,009,0002,355,200
2Dec 17, 2022 23:0416,385565,430,367526,704,00013,992,0002,359,296
3Dec 17, 2022 23:0416,405570,676,616523,389,00017,979,0002,424,832
4Dec 17, 2022 23:0416,411563,604,911527,561,00013,988,0002,359,296
5Dec 17, 2022 23:0416,435561,830,303523,365,00018,976,0002,453,504
6Dec 17, 2022 23:0416,489567,583,167529,146,00014,975,0002,359,296
7Dec 17, 2022 23:0416,493565,855,689528,301,00015,978,0002,359,296
8Dec 17, 2022 23:0416,533572,177,365534,597,00010,991,0002,359,296
9Dec 17, 2022 23:0416,540569,439,518531,838,00013,995,0002,301,952
10Dec 17, 2022 23:0417,299636,261,795570,855,88902,273,280
11Dec 17, 2022 23:0417,300639,189,302570,909,45602,277,376
12Dec 17, 2022 23:0417,349642,578,381572,503,36102,273,280