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 listJan 7, 2026 21:13Josu San MartinJosu San MartinScore: 17,830Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2026 04:0216,259560,868,845535,545,0001,001,0002,306,048
2Jan 7, 2026 21:1316,996590,456,503558,868,0001,999,0002,363,392
3Jan 7, 2026 04:0217,266595,640,480567,768,0001,999,0002,289,664
4Jan 7, 2026 04:0217,456604,795,553574,051,0002,000,0002,347,008
5Jan 7, 2026 21:1317,567605,730,518577,709,0001,998,0002,351,104
6Jan 7, 2026 21:1317,654612,689,719579,601,0002,997,0002,289,664
7Jan 7, 2026 04:0217,677608,639,663580,353,0002,996,0002,510,848
8Jan 7, 2026 04:0217,765614,599,759584,234,0002,000,0002,355,200
9Jan 7, 2026 21:1317,798614,021,344585,323,0002,001,0002,289,664
10Jan 7, 2026 04:0217,830613,836,992585,386,0002,996,0002,289,664
11Jan 7, 2026 04:0217,938617,606,229588,971,0002,999,0002,289,664
12Jan 7, 2026 21:1318,096622,019,387595,174,0002,000,0002,289,664
13Jan 7, 2026 21:1318,114623,348,309595,775,0001,999,0002,289,664
14Jan 7, 2026 21:1318,157628,765,343597,187,0002,000,0002,342,912
15Jan 7, 2026 21:1318,159626,289,466596,249,0003,001,0002,289,664
16Jan 7, 2026 21:1318,380638,366,651604,526,0001,998,0002,289,664
17Jan 7, 2026 04:0218,676643,570,064613,292,0003,001,0002,338,816
18Jan 7, 2026 04:0224,655841,872,082809,607,0003,998,0002,424,832