Fix io display bug
This commit is contained in:
parent
8ba39a1f97
commit
b89c127707
3 changed files with 10 additions and 4 deletions
|
@ -261,12 +261,12 @@
|
|||
<div class="problem-info-entry">
|
||||
<i class="fa fa-file-o fa-fw"></i><span class="pi-name">{{ _('Input:') }}</span>
|
||||
<span class="pi-value">
|
||||
{{ problem.data_files.fileio_input or _('stdin') }}
|
||||
{{ fileio_input or _('stdin') }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="problem-info-entry">
|
||||
<i class="fa fa-file fa-fw"></i><span class="pi-name">{{ _('Output:') }}</span>
|
||||
<span class="pi-value">{{ problem.data_files.fileio_output or _('stdout') }}</span>
|
||||
<span class="pi-value">{{ fileio_output or _('stdout') }}</span>
|
||||
</div>
|
||||
<div class="problem-lang-limits">
|
||||
{% for name, limit in problem.language_memory_limit %}
|
||||
|
|
|
@ -61,10 +61,10 @@
|
|||
<hr>
|
||||
<div align="center" style="position: relative;">
|
||||
<div class="problem-info-entry">
|
||||
<b>{{ _('Input:') }}</b> {{ problem.data_files.fileio_input or _('stdin') }}
|
||||
<b>{{ _('Input:') }}</b> {{ fileio_input or _('stdin') }}
|
||||
</div>
|
||||
<div class="problem-info-entry">
|
||||
<b>{{ _('Output:') }}</b> {{ problem.data_files.fileio_output or _('stdout') }}
|
||||
<b>{{ _('Output:') }}</b> {{ fileio_output or _('stdout') }}
|
||||
</div>
|
||||
<div class="problem-info-entry">
|
||||
<b>{{ _('Time Limit:') }}</b> {{ problem.time_limit }}s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue