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 9, 2026 21:41NicoNicoScore: 222,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 9, 2026 21:41221,4927,342,886,7827,245,265,00063,958,0002,277,376
2Feb 9, 2026 21:41221,9917,357,107,8167,275,746,00049,970,0002,473,984
3Feb 9, 2026 21:41222,2007,359,476,4307,279,626,00052,968,0002,506,752
4Feb 9, 2026 21:41222,6347,378,943,6187,295,947,00050,971,0002,306,048
5Feb 9, 2026 21:41222,6867,375,843,7027,300,651,00047,971,0002,420,736
6Feb 9, 2026 21:41222,8457,388,851,1017,297,933,00055,968,0002,420,736
7Feb 9, 2026 21:41223,6577,413,015,8327,321,710,00058,965,0002,494,464
8Feb 9, 2026 21:41223,7027,411,046,6747,323,195,00058,961,0002,383,872
9Feb 9, 2026 21:41223,9127,416,463,3397,335,142,00053,964,0002,498,560