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 listFeb 13, 2024 12:34matsuoka-601matsuoka-601Score: 7,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 13, 2024 12:347,099296,235,483234,264,28802,187,264
2Feb 13, 2024 12:347,122299,293,696235,019,01602,195,456
3Feb 13, 2024 12:347,132306,402,141235,361,71002,195,456
4Feb 13, 2024 12:347,132269,804,098215,331,00020,030,0002,396,160
5Feb 13, 2024 12:347,142266,033,700209,730,00025,966,0002,371,584
6Feb 13, 2024 12:347,151260,544,671214,994,00020,999,0002,392,064
7Feb 13, 2024 12:347,153258,660,041213,032,00023,003,0002,392,064
8Feb 13, 2024 12:347,155263,218,534216,092,00020,008,0002,478,080
9Feb 13, 2024 12:347,155259,274,941212,116,00024,013,0002,510,848
10Feb 13, 2024 12:347,171264,445,879215,690,00020,969,0002,396,160
11Feb 13, 2024 12:347,175263,366,472212,789,00023,976,0002,281,472
12Feb 13, 2024 12:347,188261,411,061213,198,00024,022,0002,408,448