NDOJ/templates/problem/raw.html

99 lines
2.6 KiB
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
<!DOCTYPE html>
<html>
2023-01-27 23:11:10 +00:00
<head>
2021-06-10 21:36:03 +00:00
<link rel="stylesheet" href="{{ static('style.css') }}">
<link rel="stylesheet" href="{{ static('pygment-github.css') }}" type="text/css">
2022-10-25 04:59:04 +00:00
<link rel="stylesheet" href="{{ static('markdown.css') }}">
2020-01-21 06:35:58 +00:00
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="pygment-github.css" type="text/css">
2022-10-25 04:59:04 +00:00
<link rel="stylesheet" href="markdown.css">
2023-01-27 23:11:10 +00:00
2020-01-21 06:35:58 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
2023-01-27 23:11:10 +00:00
html {
background: white;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
body {
overflow: hidden;
page-break-after: always;
background: white;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
tr {
page-break-inside: avoid;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
#info-table {
width: auto;
background: white;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
#info-table td {
text-align: left;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
#info-table td.value {
min-width: 10em;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
#info-table td.key {
font-weight: bold;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
.lang-limit {
margin-left: 1.5em;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
.lang-name:after {
content: ": ";
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
.problem-info-entry {
vertical-align: top;
float: center;
padding: 0.6em;
display: inline-block;
text-align: left;
}
2020-01-21 06:35:58 +00:00
</style>
2023-01-27 23:11:10 +00:00
</head>
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
<body>
<h2 style="color:#393630; display: inline-block;">{{ problem_name }}</h2>
<hr>
<div align="center" style="position: relative;">
<div class="problem-info-entry">
2022-06-02 16:21:55 +00:00
<b>{{ _('Input:') }}</b> {{ fileio_input or _('stdin') }}
2023-01-27 23:11:10 +00:00
</div>
<div class="problem-info-entry">
2022-06-02 16:21:55 +00:00
<b>{{ _('Output:') }}</b> {{ fileio_output or _('stdout') }}
2023-01-27 23:11:10 +00:00
</div>
<div class="problem-info-entry">
2020-01-21 06:35:58 +00:00
<b>{{ _('Time Limit:') }}</b> {{ problem.time_limit }}s
{% for name, limit in problem.language_time_limit %}
2023-01-27 23:11:10 +00:00
<div class="lang-limit">
<span class="lang-name">{{ name }}</span>
<span>{{ limit }}s</span>
</div>
2020-01-21 06:35:58 +00:00
{% endfor %}
2023-01-27 23:11:10 +00:00
</div>
<div class="problem-info-entry">
2020-01-21 06:35:58 +00:00
<b>{{ _('Memory Limit:') }}</b> {{ problem.memory_limit|kbsimpleformat}}
{% for name, limit in problem.language_memory_limit %}
2023-01-27 23:11:10 +00:00
<div class="lang-limit">
<span class="lang-name">{{ name }}</span>
<span>{{ limit|kbsimpleformat }}</span>
</div>
2020-01-21 06:35:58 +00:00
{% endfor %}
2023-01-27 23:11:10 +00:00
</div>
</div>
<hr style="clear: both;">
<div class="content-description printing">
{{ description|markdown|reference|absolutify(url)|str|safe }}
2020-01-21 06:35:58 +00:00
</div>
2024-02-05 23:02:49 +00:00
<script src="{{ static('katex_config.js') }}"></script>
{% include "katex-load.html" %}
2023-01-27 23:11:10 +00:00
</body>
2020-01-21 06:35:58 +00:00
</html>