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 13, 2026 09:51NicoNicoScore: 35,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 13, 2026 09:5135,1681,192,499,1121,145,544,00014,994,0002,277,376
2Feb 13, 2026 09:5135,1821,191,142,1441,141,028,00019,982,0002,314,240
3Feb 13, 2026 09:5135,2241,190,255,3621,141,401,00020,988,0002,408,448
4Feb 13, 2026 09:5135,2731,198,222,1851,150,034,00013,988,0002,306,048
5Feb 13, 2026 09:5135,2841,196,491,7621,149,378,00014,991,0002,420,736
6Feb 13, 2026 09:5135,3121,196,341,1141,146,301,00018,988,0002,420,736
7Feb 13, 2026 09:5135,4761,199,678,6651,155,698,00014,996,0002,277,376
8Feb 13, 2026 09:5135,4821,202,668,0331,149,918,00020,980,0002,420,736
9Feb 13, 2026 09:5135,5161,199,729,8741,148,037,00023,979,0002,420,736