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 listJun 17, 2024 10:39Joad NacerJoad NacerScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2024 10:394,756235,801,114156,941,55002,203,648
2Jun 17, 2024 10:394,787220,127,362157,966,28202,220,032
3Jun 17, 2024 10:394,900216,233,431161,691,52402,211,840
4Jun 17, 2024 10:395,354198,296,025151,719,00024,953,0002,347,008
5Jun 17, 2024 10:395,359197,955,742151,856,00024,976,0002,392,064
6Jun 17, 2024 10:395,377213,821,198153,504,00023,922,0002,387,968
7Jun 17, 2024 10:395,393203,596,379152,965,00024,994,0002,396,160
8Jun 17, 2024 10:395,410208,094,063155,584,00022,938,0002,392,064
9Jun 17, 2024 10:395,471204,606,373159,608,00020,948,0002,359,296
10Jun 17, 2024 10:395,475209,154,262155,717,00024,954,0002,465,792
11Jun 17, 2024 10:395,654213,953,810162,641,00023,947,0002,396,160
12Jun 17, 2024 10:395,725211,977,571166,944,00021,992,0002,424,832