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:48NicoNicoScore: 35,383Success
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:4835,1211,190,300,9931,139,027,00019,982,0002,416,640
2Feb 13, 2026 09:4835,2431,190,425,1531,145,037,00017,984,0002,494,464
3Feb 13, 2026 09:4835,3351,188,536,5761,148,057,00017,985,0002,424,832
4Feb 13, 2026 09:4835,3601,193,978,7721,147,907,00018,981,0002,396,160
5Feb 13, 2026 09:4835,3831,200,270,9691,148,652,00018,994,0002,338,816
6Feb 13, 2026 09:4835,4111,192,575,4511,149,584,00018,993,0002,412,544
7Feb 13, 2026 09:4835,4831,203,390,1211,151,947,00018,982,0002,420,736
8Feb 13, 2026 09:4835,5221,198,806,2831,151,226,00020,985,0002,277,376
9Feb 13, 2026 09:4835,5341,203,201,3761,156,615,00015,994,0002,408,448