mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-22 00:43:20 +00:00
93 lines
3.3 KiB
HTML
93 lines
3.3 KiB
HTML
{% extends 'oj_base.html' %}
|
||
|
||
{% block body %}
|
||
<div class="container">
|
||
<ul class="nav nav-tabs nav-tabs-google">
|
||
<li role="presentation" class="active">
|
||
<a href="problem.html">题目</a></li>
|
||
<li role="presentation"><a href="my_solutions_list.html">我的提交</a></li>
|
||
</ul>
|
||
<h2 class="text-center">Battle Over Cities - Hard Version</h2>
|
||
|
||
<p class="text-muted text-center">cpu: 1000ms 内存: 256M</p>
|
||
|
||
<div>
|
||
<div class="problem-section">
|
||
<label class="problem-label">描述</label>
|
||
|
||
<p class="problem-detail"> n的阶乘定义为n!=1*2*3*……*n 如3!=6
|
||
n!通常最后会有很多0,如5!=120 最后有一个0,现在统计n!去除末尾的0后,最后k位是多少</p>
|
||
</div>
|
||
<div class="problem-section">
|
||
<label class="problem-label">输入</label>
|
||
|
||
<p class="problem-detail">第一行包括两个数n,k</p>
|
||
</div>
|
||
<div class="problem-section">
|
||
<label class="problem-label">输出</label>
|
||
|
||
<p class="problem-detail">第一行包括两个数n,k</p>
|
||
</div>
|
||
<div class="problem-section">
|
||
<label class="problem-label">样例输入</label>
|
||
<pre title="双击可以复制哦~">
|
||
1 2 3 4 5 6 7
|
||
1 2 3 4 5 6 7</pre>
|
||
|
||
</div>
|
||
<div class="problem-section">
|
||
|
||
<label class="problem-label">样例输出</label>
|
||
<pre>
|
||
1 2 3 4 5 6 7</pre>
|
||
</div>
|
||
<div>
|
||
<label>选择语言</label>
|
||
<div>
|
||
<label class="radio-inline">
|
||
<input type="radio" name="inlineRadioOptions" value="c" checked> c (gcc 4.8)
|
||
</label>
|
||
<label class="radio-inline">
|
||
<input type="radio" name="inlineRadioOptions" value="cpp"> c++ (g++ 4.3)
|
||
</label>
|
||
<label class="radio-inline">
|
||
<input type="radio" name="inlineRadioOptions" value="java"> Java (jre 1.7)
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div id="code-field">
|
||
<label class="problem-label">提交代码</label>
|
||
<textarea id="code-editor"></textarea>
|
||
</div>
|
||
<hr>
|
||
<div id="submit-code">
|
||
<button type="button" class="btn btn-primary" id="submit-code-button">
|
||
提交代码
|
||
</button>
|
||
<img src="/static/img/loading.gif" id="loading-gif">
|
||
|
||
</div>
|
||
<hr>
|
||
<div class="result">
|
||
<div class="alert alert-success" role="alert" id="a" style="opacity: 0">
|
||
<div class="alert-link">
|
||
Accepted! 时间:378ms 内存: 35m
|
||
<a href="#">查看详情</a>
|
||
</div>
|
||
</div>
|
||
<div class="alert alert-danger" role="alert">
|
||
<div class="alert-link">Wrong Answer!</div>
|
||
</div>
|
||
<div class="alert alert-danger" role="alert">
|
||
<div class="alert-link">Compile Error!</div>
|
||
</div>
|
||
<div class="alert alert-warning" role="alert">
|
||
<div class="alert-link">Error Format!</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|
||
{% block js_block %}
|
||
<script src="/static/js/app/oj/problem/submit_code.js"></script>
|
||
{% endblock %} |