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 12, 2024 00:30Joad NacerJoad NacerScore: 11,939Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 00:3010,376417,921,335342,419,74302,228,224
2May 12, 2024 00:3010,420412,481,586343,866,96002,228,224
3May 12, 2024 00:3010,442415,511,456344,600,07702,232,320
4May 12, 2024 00:3011,438401,014,910320,534,00056,917,0002,428,928
5May 12, 2024 00:3011,655412,189,854326,678,00057,943,0002,437,120
6May 12, 2024 00:3011,883424,497,118335,126,00057,021,0002,445,312
7May 12, 2024 00:3011,939421,230,428332,996,00060,999,0002,437,120
8May 12, 2024 00:3011,994423,744,067336,825,00058,969,0002,441,216
9May 12, 2024 00:3012,089429,003,362342,942,00055,990,0002,416,640
10May 12, 2024 00:3012,143427,871,100343,747,00056,958,0002,428,928
11May 12, 2024 00:3012,144423,602,733343,791,00056,965,0002,519,040
12May 12, 2024 00:3012,341435,657,863347,350,00059,888,0002,465,792