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 22:52Joad NacerJoad NacerScore: 11,974Success
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:0911,830419,061,502331,481,00058,907,0002,412,544
2May 11, 2024 23:0711,834414,238,026330,598,00059,927,0002,408,448
3May 11, 2024 23:0711,835424,921,586330,618,00059,930,0002,404,352
4May 11, 2024 23:0711,846414,426,491331,927,00058,987,0002,408,448
5May 11, 2024 23:0911,849414,684,201332,025,00059,004,0002,412,544
6May 11, 2024 22:5211,854423,695,402331,306,00059,874,0002,297,856
7May 11, 2024 23:0711,865413,975,714331,624,00059,932,0002,420,736
8May 11, 2024 23:0711,889419,919,172332,441,00059,899,0002,519,040
9May 11, 2024 22:5211,897423,571,284333,661,00058,940,0002,273,280
10May 11, 2024 23:0911,898418,734,015331,702,00060,945,0002,412,544
11May 11, 2024 23:0911,907413,717,538333,928,00058,987,0002,330,624
12May 11, 2024 22:5211,918420,900,571334,402,00058,894,0002,408,448
13May 11, 2024 23:0711,919417,625,521333,429,00059,897,0002,277,376
14May 11, 2024 22:5211,930419,609,024334,738,00058,953,0002,306,048
15May 11, 2024 23:0911,945421,265,821333,143,00061,026,0002,408,448
16May 11, 2024 23:0711,946419,116,452336,184,00058,031,0002,408,448
17May 11, 2024 23:0911,969416,626,681336,972,00057,995,0002,404,352
18May 11, 2024 22:5211,970421,614,428333,017,00062,003,0002,273,280
19May 11, 2024 22:5211,974426,617,208335,131,00060,023,0002,420,736
20May 11, 2024 22:5211,979419,339,138334,409,00060,892,0002,400,256
21May 11, 2024 22:5211,995422,115,113335,848,00059,972,0002,510,848
22May 11, 2024 23:0912,040452,739,096397,307,45502,211,840
23May 11, 2024 23:0912,042457,843,555397,397,79202,211,840
24May 11, 2024 23:0712,044448,386,899397,441,02502,211,840
25May 11, 2024 23:0712,097464,164,322399,189,77302,203,648
26May 11, 2024 23:0912,120426,344,429339,965,00059,993,0002,412,544
27May 11, 2024 23:0712,168455,846,439401,532,23402,203,648
28May 11, 2024 23:0912,177475,508,173401,845,06402,215,936
29May 11, 2024 23:0912,252430,870,077347,405,00056,902,0002,310,144
30May 11, 2024 23:0712,305433,229,149346,212,00059,863,0002,408,448
31May 11, 2024 23:0712,322430,709,552347,678,00058,945,0002,494,464
32May 11, 2024 22:5212,328438,017,468347,861,00058,976,0002,404,352
33May 11, 2024 23:0912,358439,531,607347,838,00059,972,0002,277,376
34May 11, 2024 22:5212,571474,622,077414,836,02002,199,552
35May 11, 2024 22:5212,628477,999,599416,734,34002,203,648
36May 11, 2024 22:5212,660491,788,049417,788,97602,203,648