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 7, 2021 21:01Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2021 21:0200000Error: expected "1039044 ", got "1039043 "
2Jun 7, 2021 21:4800000Error: expected "1040699 ", got "1037276 "
3Jun 7, 2021 21:4800000Error: expected "1039623 ", got "1039060 "
4Jun 7, 2021 21:1100000Error: expected "1041255 ", got "1041254 "
5Jun 7, 2021 21:1100000Error: expected "1038376 ", got "1038375 "
6Jun 7, 2021 21:1000000Error: expected "1037579 ", got "1037578 "
7Jun 7, 2021 21:1000000Error: expected "1038096 ", got "1038086 "
8Jun 7, 2021 21:1000000Error: expected "1036515 ", got "1036504 "
9Jun 7, 2021 21:0400000Error: expected "1036640 ", got "1036639 "
10Jun 7, 2021 21:0400000Error: expected "1042590 ", got "1042589 "
11Jun 7, 2021 21:0200000Error: expected "1034012 ", got "1034011 "
12Jun 7, 2021 21:0200000Error: expected "1041911 ", got "1041910 "
13Jun 7, 2021 21:0100000Error: expected "1039572 ", got "1039571 "
14Jun 7, 2021 21:0100000Error: expected "1039700 ", got "1039685 "
15Jun 8, 2021 15:069,265359,279,054305,748,48202,277,376
16Jun 8, 2021 15:069,341382,654,370308,241,76702,281,472
17Jun 8, 2021 15:069,399368,648,256310,169,40802,273,280
18Jun 7, 2021 21:479,535372,140,621314,654,78002,285,568
19Jun 7, 2021 21:039,546371,349,614315,030,60202,277,376
20Jun 7, 2021 21:039,548382,350,094315,081,90002,281,472
21Jun 7, 2021 21:039,556391,584,535315,354,49102,277,376
22Jun 7, 2021 21:479,594380,546,996316,604,40202,285,568
23Jun 7, 2021 21:479,603393,012,963316,908,64602,281,472