Лише букви або лише цифри
Перегляд у форматі PDF
Надіслати розв'язок
Бали:
1,00 (partial)
Time limit:
0.3s
Memory limit:
256M
Input:
stdin
Output:
stdout
Suggester:
Problem type
Задача 6 зі списку https://dmoj.cdu.edu.ua/media/martor/RegEx.pdf
Очікується, що Ви не писатимете задачу «з нуля», а лише заміните regEx-и (регулярні вирази) в ось цьому майже-розв'язку
Вхід
Variables \texttt{i},
\texttt{j} and \texttt{k}
are commonly used as integer counters.
Here, \texttt{R}, \texttt{R0}
and \texttt{R0after} are floating-point.
\texttt{a007} is a \texttt{string}.
\texttt{777} is an integer constant.
Результат
Variables \begin{ttfamily}i\end{ttfamily},
\begin{ttfamily}j\end{ttfamily} and \begin{ttfamily}k\end{ttfamily}
are commonly used as integer counters.
Here, \begin{ttfamily}R\end{ttfamily}, \texttt{R0}
and \texttt{R0after} are floating-point.
\texttt{a007} is a \begin{ttfamily}string\end{ttfamily}.
\begin{ttfamily}777\end{ttfamily} is an integer constant.
Коментарі