Skip to content

Instantly share code, notes, and snippets.

@skytomo221
Created October 14, 2020 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skytomo221/8c001676048445a17f6dcd456bcc4554 to your computer and use it in GitHub Desktop.
Save skytomo221/8c001676048445a17f6dcd456bcc4554 to your computer and use it in GitHub Desktop.
using c=System.Console;using System.Text.RegularExpressions;class P{static void Main(){c.WriteLine(Regex.IsMatch(c.ReadLine(), @"^(?!.*(Ll|lL))(?i)(0[0-7]*|[1-9]\d*|0x[\da-f]+)(u?l?l?|l?l?u?)$"));}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment