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 listMay 27, 2024 23:43Joad NacerJoad NacerScore: 7,905Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 23:437,520323,295,866248,150,93102,224,128
2May 27, 2024 23:437,522310,810,745248,224,60502,236,416
3May 27, 2024 23:517,615310,079,540251,295,01102,224,128
4May 27, 2024 23:517,639317,458,603252,075,32702,240,512
5May 27, 2024 23:517,641317,272,222252,162,16202,220,032
6May 27, 2024 23:437,690317,351,909253,781,94302,236,416
7May 27, 2024 23:437,899284,853,262205,732,00054,928,0002,326,528
8May 27, 2024 23:437,905284,332,459204,898,00055,972,0002,392,064
9May 27, 2024 23:437,930286,402,802206,746,00054,932,0002,437,120
10May 27, 2024 23:438,098295,787,451209,193,00058,053,0002,281,472
11May 27, 2024 23:438,121291,562,603212,985,00054,996,0002,265,088
12May 27, 2024 23:438,162299,536,381210,488,00058,856,0002,433,024
13May 27, 2024 23:438,219296,157,612213,190,00058,051,0002,424,832
14May 27, 2024 23:438,292302,043,005213,718,00059,920,0002,531,328
15May 27, 2024 23:438,515304,913,483222,008,00059,002,0002,527,232