NDOJ/templates/problem/raw.html

108 lines
3.1 KiB
HTML
Raw Normal View History

2020-01-21 06:35:58 +00:00
<!DOCTYPE html>
<html>
<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">
2020-01-21 06:35:58 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
html {
background: white;
}
body {
overflow: hidden;
page-break-after: always;
background: white;
}
tr {
page-break-inside: avoid;
}
#info-table {
width: auto;
background: white;
}
#info-table td {
text-align: left;
}
#info-table td.value {
min-width: 10em;
}
#info-table td.key {
font-weight: bold;
}
.lang-limit {
margin-left: 1.5em;
}
.lang-name:after {
content: ": ";
}
.problem-info-entry {
vertical-align: top;
float: center;
padding: 0.6em;
display: inline-block;
text-align: left;
}
</style>
</head>
<body>
<h2 style="color:#393630; display: inline-block;">{{ problem_name }}</h2>
<hr>
<div align="center" style="position: relative;">
2022-06-02 04:59:46 +00:00
<div class="problem-info-entry">
2022-06-02 16:21:55 +00:00
<b>{{ _('Input:') }}</b> {{ fileio_input or _('stdin') }}
2022-06-02 04:59:46 +00:00
</div>
<div class="problem-info-entry">
2022-06-02 16:21:55 +00:00
<b>{{ _('Output:') }}</b> {{ fileio_output or _('stdout') }}
2022-06-02 04:59:46 +00:00
</div>
2020-01-21 06:35:58 +00:00
<div class="problem-info-entry">
<b>{{ _('Time Limit:') }}</b> {{ problem.time_limit }}s
{% for name, limit in problem.language_time_limit %}
<div class="lang-limit">
<span class="lang-name">{{ name }}</span>
<span>{{ limit }}s</span>
</div>
{% endfor %}
</div>
<div class="problem-info-entry">
<b>{{ _('Memory Limit:') }}</b> {{ problem.memory_limit|kbsimpleformat}}
{% for name, limit in problem.language_memory_limit %}
<div class="lang-limit">
<span class="lang-name">{{ name }}</span>
<span>{{ limit|kbsimpleformat }}</span>
</div>
{% endfor %}
</div>
</div>
<hr style="clear: both;">
<div class="content-description printing">
2022-10-25 04:59:04 +00:00
{{ description|markdown|reference|absolutify(url)|str|safe }}
2020-01-21 06:35:58 +00:00
</div>
2021-06-10 21:36:03 +00:00
2022-11-25 18:52:49 +00:00
<script type="text/javascript" src="{{ static('mathjax3_config.js') }}"></script>
<script type="text/javascript" src="mathjax3_config.js"></script>
2021-06-10 21:36:03 +00:00
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML"></script>
<script type="text/javascript">
MathJax.Hub.Register.StartupHook("End", function () {
if (typeof window.callPhantom === 'function')
window.callPhantom({'action': 'snapshot'});
document.body.classList.add('math-loaded');
});
</script>
2020-01-21 06:35:58 +00:00
</body>
</html>