Commit inicial
This commit is contained in:
commit
6cbeeee2ce
14 changed files with 622 additions and 0 deletions
72
view/problem.html
Normal file
72
view/problem.html
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<title>ambiente</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="index.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
|
||||
<script src="https://unpkg.com/hotkeys-js/dist/hotkeys.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="space-between">
|
||||
<h3>Editando: Problema1</h3>
|
||||
<div class="space-between">
|
||||
<h3>Salvar</h3>
|
||||
<h3>Retornar</h3>
|
||||
</div>
|
||||
</nav>
|
||||
<main>
|
||||
<section id="edit-area" class="m-10">
|
||||
<textarea id="input" class="area"># Pergunta #1
|
||||
Dado os números inteiros _n_ e _r_, retorne a soma de todos os números pertencentes ao conjunto do inteiros entre _n_ e _r_, sendo ambos _n_ e _r_ inclusivos.
|
||||
|
||||
### Entrada:
|
||||
```
|
||||
1 10
|
||||
```
|
||||
### Saída esperada:
|
||||
```
|
||||
55
|
||||
```
|
||||
|
||||
</textarea>
|
||||
<button>finalizar</button>
|
||||
</section>
|
||||
<section id="output-area" class="m-10">
|
||||
<div id="output">
|
||||
</div>
|
||||
<hr>
|
||||
<div style="margin: 40px 0px 40px 0px;">
|
||||
<form>
|
||||
<label to="language">lingua:</label>
|
||||
<select name="language">
|
||||
<option value="python">python</option>
|
||||
<option value="go">go</option>
|
||||
</select>
|
||||
<label to="answer">resposta:</label>
|
||||
<textarea name="answer" id="answer-input"></textarea>
|
||||
<button id='submit-button' type="button">enviar</button>
|
||||
</form>
|
||||
<div id="result-status-bar">
|
||||
<p style="margin: 0">Resultado: <span id="result-status">Não enviado</span></p>
|
||||
<div style="display: none;" id="wrong-result-info">
|
||||
<hr>
|
||||
<p style="margin: 0">Entrada:</p>
|
||||
<pre id="test-input" style="overflow-x: auto; margin: 0;"></pre>
|
||||
<p style="margin: 0">Saída esperada:</p>
|
||||
<pre id="test-output" style="overflow-x: auto; margin: 0;"></pre>
|
||||
<p style="margin: 0">Saída do programa:</p>
|
||||
<pre id="wrong-output" style="overflow-x: auto; margin: 0;"></pre>
|
||||
</div>
|
||||
</div>
|
||||
<pre id="io-log" style="overflow-x: auto; margin: 0;">
|
||||
</pre>
|
||||
</div>
|
||||
</section>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js"></script>
|
||||
<script src="index.js"></script>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue