#include #include int main (void) { printf (" ::= 'https://docs.google.com/' '/d/' \n"); printf (" ::= 'document' | 'spreadsheet' | 'presentation'\n"); printf (" ::="); for (int i = 0; i < 33; ++i) { printf (" "); } printf (" |"); for (int i = 0; i < 44; ++i) { printf (" "); } printf ("\n"); printf (" ::= "); for (char c = '0'; c <= '9'; ++c) printf ("'%c' | ", c); for (char c = 'a'; c <= 'z'; ++c) printf ("'%c' | ", c); for (char c = 'A'; c <= 'Z'; ++c) { printf ("'%c' | ", c); } printf ("'-' | '_'\n"); printf (" ::= '' | '/' | '/copy' | '/edit' | '/export' | '/view' | '/preview'\n"); printf (" ::= '' | '?' \n"); printf (" ::= '' | \n"); printf (" ::= "); for (char c = '!'; c <= '~'; ++c) { if (c != '!') printf (" | "); printf (c != '\'' ? "'%c'" : "\"%c\"", c); } printf ("\n"); return EXIT_SUCCESS; }