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 listNov 12, 2024 10:50ndbnndbnScore: 256,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 10:50255,4748,467,194,0857,029,374,0001,401,277,0002,367,488
2Nov 12, 2024 10:50255,9088,472,892,8537,059,792,0001,385,174,0002,355,200
3Nov 12, 2024 10:50256,2098,483,177,7777,024,747,0001,430,134,0002,400,256
4Nov 12, 2024 10:50256,4818,494,274,1887,025,749,0001,438,129,0002,297,856
5Nov 12, 2024 10:50256,9648,512,288,0597,038,692,0001,441,118,0002,322,432
6Nov 12, 2024 10:50258,8888,577,287,1157,117,245,0001,426,047,0002,359,296
7Nov 12, 2024 10:50259,0088,581,472,3407,118,065,0001,429,210,0002,506,752
8Nov 12, 2024 10:50261,2748,652,272,2867,210,848,0001,411,187,0002,482,176
9Nov 12, 2024 10:50269,3338,922,339,9507,516,916,0001,371,072,0002,334,720