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 25, 2024 21:20Joad NacerJoad NacerScore: 7,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2024 21:206,454273,082,551212,971,81702,224,128
2Jun 25, 2024 21:206,534290,463,040215,627,49902,334,720
3Jun 25, 2024 21:206,546285,675,628216,010,77802,215,936
4Jun 25, 2024 21:207,017259,819,582207,598,00023,953,0002,338,816
5Jun 25, 2024 21:207,126263,346,603211,143,00024,016,0002,437,120
6Jun 25, 2024 21:207,134258,700,956208,475,00026,932,0002,383,872
7Jun 25, 2024 21:207,149261,771,724209,932,00025,991,0002,392,064
8Jun 25, 2024 21:207,193265,420,910211,443,00025,931,0002,392,064
9Jun 25, 2024 21:207,198264,654,823209,599,00027,946,0002,334,720
10Jun 25, 2024 21:207,226264,619,736214,518,00023,946,0002,392,064
11Jun 25, 2024 21:207,263264,406,572215,714,00023,968,0002,404,352
12Jun 25, 2024 21:207,416268,453,476220,766,00023,974,0002,392,064