\documentclass[UTF8,a4paper,10pt]{ctexart}
\usepackage[left=2.50cm, right=2.50cm, top=2.50cm, bottom=2.50cm]{geometry}
\usepackage[OT1]{fontenc}

\usepackage{multicol}
\usepackage{times}
\usepackage{framed}
\usepackage{pythonhighlight}
\usepackage{listings} %代码包
\usepackage{xcolor} %代码高亮包
\usepackage{amsmath, amsfonts, amssymb} % math equations, symbols
\usepackage[english]{babel}
\usepackage{color}      % color content
\usepackage{graphicx}   % import figures
\usepackage{url}        % hyperlinks
\usepackage{bm}         % bold type for equations
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{epstopdf}
\usepackage{epsfig}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{animate}
\renewcommand{\algorithmicrequire}{ \textbf{Input:}}     % use Input in the format of Algorithm  
\renewcommand{\algorithmicensure}{ \textbf{Initialize:}} % use Initialize in the format of Algorithm  
\renewcommand{\algorithmicreturn}{ \textbf{Output:}}     % use Output in the format of Algorithm  

\definecolor{cred}{RGB}{116,23,82}

% \newcommand{\pic}[2]{\includegraphics[width=#2\textwidth]{#1}}

\newcommand{\blue}[1]{\textcolor{blue}{{}#1}}
% \newcommand{\red}[1]{\textbf{\textcolor{red}{{}#1}}}
\newcommand{\typecolor}[1]{{\textcolor{cred}{{}#1}}}
\newcommand{\black}[1]{\textbf{\textcolor{black}{{}#1}}}
\newcommand{\red}[1]{\textcolor{red}{{}#1}}
\newcommand{\purple}[1]{\textcolor{purple}{{}#1}}
\newcommand{\orange}[1]{\textbf{\textcolor{orange}{{}#1}}}
\newcommand{\pic}[2]{\includegraphics[width=#2\textwidth]{#1}}
\usepackage{fancyhdr}   % 设置页眉、页脚 
\usepackage{hyperref}   % bookmarks
\hypersetup{colorlinks, unicode} % unicode


