Штуки
Some checks failed
Build and Push Docker Images / build (src/LiquidCode.Tester.Gateway/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-gateway-roman, gateway) (push) Successful in 1m12s
Build and Push Docker Images / build (src/LiquidCode.Tester.Worker/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-worker-roman, worker) (push) Has been cancelled
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
318
exam-queue-17/statements/.html/russian/problem-statement.css
Normal file
@@ -0,0 +1,318 @@
|
||||
.problem-statement {
|
||||
margin: 0.5em auto 2em auto;
|
||||
font-family: verdana,serif;
|
||||
line-height: 1.5em;
|
||||
font-size: 14px;
|
||||
max-width: 1024px;
|
||||
}
|
||||
|
||||
.problem-statement .epigraph {
|
||||
margin-left: 67%;
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.problem-statement .epigraph-text {
|
||||
}
|
||||
|
||||
.problem-statement .epigraph-source {
|
||||
border-top: 1px solid #888;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.problem-statement .lstlisting {
|
||||
padding: 0.5em;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular {
|
||||
margin: 1em 0;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular td {
|
||||
padding: 0.15em 0.7em;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-tabular-border-left {
|
||||
border-left: 1px solid;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-tabular-border-right {
|
||||
border-right: 1px solid;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-tabular-border-top {
|
||||
border-top: 1px solid;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-tabular-border-bottom {
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-tabular-text-align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-tabular-text-align-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-tabular-text-align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.problem-statement p {
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
|
||||
.problem-statement p a, .problem-statement ul a, .problem-statement ol a, .problem-statement td a {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.problem-statement .header {
|
||||
margin-bottom: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.problem-statement .header .title {
|
||||
font-size: 150%;
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
.problem-statement .header .title {
|
||||
font-size: 150%;
|
||||
font-family: arial, serif;
|
||||
}
|
||||
|
||||
.problem-statement ul {
|
||||
list-style: disc outside;
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
|
||||
.problem-statement ol {
|
||||
list-style: decimal outside;
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
|
||||
.problem-statement li {
|
||||
line-height: 1.5em;
|
||||
margin-left: 3em;
|
||||
}
|
||||
|
||||
.problem-statement .property-title {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.problem-statement .property-title:after {
|
||||
content: ": ";
|
||||
}
|
||||
|
||||
.problem-statement .time-limit, .problem-statement .memory-limit, .problem-statement .input-file, .problem-statement .output-file {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.problem-statement .legend {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.problem-statement .tutorial {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.problem-statement .section-title {
|
||||
font-family: arial, serif;
|
||||
font-size: 115%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.problem-statement .input-specification,
|
||||
.problem-statement .output-specification,
|
||||
.problem-statement .sample-tests,
|
||||
.problem-statement .author,
|
||||
.problem-statement .resource,
|
||||
.problem-statement .date {
|
||||
/*margin-bottom: 1em;*/
|
||||
}
|
||||
|
||||
.problem-statement .output-specification {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.problem-statement .sample-tests .sample-test {
|
||||
}
|
||||
|
||||
.problem-statement .sample-tests .input, .problem-statement .sample-tests .output {
|
||||
border: 1px solid #888;
|
||||
}
|
||||
|
||||
.problem-statement .sample-tests .output {
|
||||
margin-bottom: 1em;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.problem-statement .sample-tests pre {
|
||||
line-height: 1.25em;
|
||||
padding: 0.25em;
|
||||
margin: 0;
|
||||
background-color: #efefef;
|
||||
}
|
||||
|
||||
.problem-statement .sample-tests .title {
|
||||
font-family: arial, serif;
|
||||
padding: 0.25em;
|
||||
border-bottom: 1px solid #888;
|
||||
text-transform: lowercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.problem-statement .tex-formula {
|
||||
vertical-align: middle;
|
||||
margin: 0;
|
||||
border:medium none;
|
||||
position: relative;
|
||||
bottom: 2px;
|
||||
}
|
||||
|
||||
.problem-statement .tex-span {
|
||||
font-size: 125%;
|
||||
font-family: times new roman, serif;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-tiny {
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-script {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-footnotes {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-small {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-normal {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-large-1 {
|
||||
font-size: 115%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-large-2 {
|
||||
font-size: 130%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-large-3 {
|
||||
font-size: 145%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-huge-1 {
|
||||
font-size: 175%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-size-huge-2 {
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-rm {
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-striked {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-underline {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-sf {
|
||||
font-family: arial, serif;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-tt {
|
||||
font-size: 110%;
|
||||
font-family: courier new, serif;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-md {
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-bf {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-up {
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-it {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-sl {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.problem-statement .tex-font-style-sc {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.problem-statement .tex-graphics {
|
||||
max-width: 95%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.problem-statement .tex-tabular .tex-graphics {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.problem-statement .input-output-copier {
|
||||
font-size: 0.75rem;
|
||||
float: right;
|
||||
color: #888;
|
||||
padding: 3px;
|
||||
cursor: pointer;
|
||||
border: 1px solid rgb(185, 185, 185);
|
||||
line-height: 0.8rem;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.problem-statement .input-output-copier:hover {
|
||||
background-color: #def;
|
||||
}
|
||||
|
||||
.problem-statement .test-example-line-even {
|
||||
background-color: #E0E0E0;
|
||||
}
|
||||
|
||||
.statement-footnote {
|
||||
font-size: 85%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.statement-footnote::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
width: 25%;
|
||||
border-top: 1px solid #888;
|
||||
}
|
||||
|
||||
.statement-footnote p {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.statement-footnote p:last-child {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.problem-statement .header .input-standard,
|
||||
.problem-statement .header .output-standard {
|
||||
display: none;
|
||||
}
|
||||
29
exam-queue-17/statements/.html/russian/problem.html
Normal file
17
exam-queue-17/statements/.html/russian/tutorial.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<META content="no-cache" http-equiv="pragma">
|
||||
<META content="-1" http-equiv="expires">
|
||||
<META content="text/html;charset=UTF-8" http-equiv="content-type">
|
||||
<LINK href="problem-statement.css" rel="stylesheet" type="text/css">
|
||||
<TITLE>Очередь за кексами</TITLE>
|
||||
<SCRIPT type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
tex2jax: {inlineMath: [['$$$','$$$']], displayMath: [['$$$$$$','$$$$$$']]}
|
||||
});
|
||||
</SCRIPT>
|
||||
<SCRIPT async="" src="https://polygon.codeforces.com/lib/MathJax/MathJax.js?config=TeX-MML-AM_CHTML" type="text/javascript">
|
||||
</SCRIPT>
|
||||
</HEAD><BODY>
|
||||
<DIV class="problem-statement"><DIV class="header"><DIV class="title">Очередь за кексами</DIV></DIV><DIV class="tutorial"><P>Давайте просто промоделируем все действия.</P><P>Заведем список элементов, а также сохраним по ключу $$$x$$$ указатель на элемент списка. Мы можем это сделать, так как все элементы различны. Например, в С++ можно просто завести коллекцию list<int>, а также map<int, list<int>::iterator> или реализовать свой список.</P><P>Теперь мы можем легко обрабатывать все запросы, а в конце просто выведем весь список.</P><P>Запрос 1-го типа можно обработать так: просто берем по ключу указатель на нужный элемент и вставляем перед ним другой элемент, останется только по ключу $$$x$$$ записать указатель на новый элемент.</P><P>Запрос 2-го типа — просто добавить в список элемент в конец и сохранить на него указатель.</P><P>Запрос 3-го типа — удаляем из списка элемент по его указателю.</P><P>В конце просто выводим массив.</P><P>Итоговая сложность $$$O(mlog(n))$$$</P></DIV></DIV>
|
||||
|
||||
</BODY></HTML>
|
||||