-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquestion.html
224 lines (212 loc) · 14.8 KB
/
question.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<html lang="en">
<head>
<title>Dashboard | MAI H00N HACKER</title>
<!-- Meta Data -->
<meta content="width=device-width, initial-scale=1" name="viewport" />
<!-- Font -->
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<!-- Icons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<!-- CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/main.css">
<link rel="stylesheet" href="assets/css/login.css">
<style type="text/css" media="screen">
#editor {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
</style>
</head>
<body>
<nav class="navbar general-navbar navbar-light">
<a class="navbar-brand">MAI H00N HACKER</a>
<div class="center-all">
<button class="myBtn cursor">Logout</button>
</div>
</nav>
<div class="grey-bg">
<div class="container">
<div class="row">
<!-- SORTING / FILTERS -->
<div class="col-md-3">
<div id="sorter-filter">
<div class="card border-light mb-3 sort">
<h6 style="padding: 5px 20px 0 20px;">Problem</h6>
</div>
<a class="no-decor" href="leaderboard.html">
<div class="tab cursor">
<h6 style="padding: 15px 20px;">Leaderboard</h6>
</div>
</a>
<a class="no-decor" href="submissions.html">
<div class="tab cursor">
<h6 style="padding: 15px 20px;">Submissions</h6>
</div>
</a>
<a class="no-decor" href="discussions.html">
<div class="tab cursor">
<h6 style="padding: 15px 20px;">Discussions</h6>
</div>
</a>
<div class="card border-light mb-3 sort">
<div class="card-body">
<div class="card-title">Details</div><hr>
<small class="muted-text">Author: Author Name</small> <br>
<small class="muted-text">Difficulty: Medium</small> <br>
<small class="muted-text">Max Score: 30</small> <br>
<small class="muted-text">Success Rate: 100%</small> <br>
<!-- <hr>
<small class="muted-text">Rate this challenge:</small> <br> <br> -->
</div>
</div>
</div>
</div>
<!-- Question -->
<div class="col-md-9">
<div class="card border-light mb-3 question">
<div class="row">
<div class="col-md-12">
<div class="card-body">
<h3 class="card-title">Challenge Title</h3><hr>
<p class="card-text">
<b>Problem Statement:</b>
<br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
<b>Input Format:</b><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
<b>Constraints</b><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
<b>Output Format:</b><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
<b>Sample Input:</b><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
<b>Sample Output:</b><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<br><br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row code-editor">
<div class="col-md-12">
<div class="card border-light mb-3 question">
<div class="form challenge">
<h5 style="text-align: left; padding-left: 20px;">Solve the challenge:</h5>
<div style="text-align: left; padding-left: 50px;">
<small class="muted-text">Options:</small> <br/>
<select style="width: 150px; margin-right: 30px">
<option class="muted-text" disabled>theme</option>
<option>Monokai</option>
<option selected>x-code</option>
<option>ambiance</option>
<option>dawn</option>
</select>
<select style="width: 150px">
<option class="muted-text" disabled>language</option>
<option selected>C++</option>
<option>Python</option>
<option>Java</option>
<option>Javascript</option>
<option>C</option>
<option>Ruby</option>
<option>Html</option>
<option>django</option>
</select>
</div>
<!-- <textarea placeholder="Write your code here." cols="30" rows="15"></textarea><br> -->
<div style="position: relative; margin: 20px; height: 480px; width: auto;box-shadow: 0 10px 15px 0 rgba(115,143,147,0.3);">
<div id="editor">import java.io.*;
public static void main( String args[] )
{
System.out.println("Hello, world!");
}
</div>
</div>
<div class="center-all">
<button class="myBtn cursor">Run</button>
<button class="myBtn cursor">Submit</button>
</div>
</div>
<div class="code-output" style="display:static">
<hr>
<h5 style="text-align: left; padding-left: 20px;">Output:</h5>
<div style="position: relative; margin: 20px; height: 300px; width: auto;box-shadow: 0 10px 15px 0 rgba(115,143,147,0.3); overflow-y: auto; padding: 20px 40px;">
Hello, world!
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<h3>Developed By <a target="_blank" href="http://harshsaglani.byethost13.com">Harsh Saglani</a></h3>
</div>
<script src="assets/js/ace-builds/src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/js/ace-builds/src-noconflict/ext-language_tools.js"></script>
<script type="text/javascript" src="assets/js/ace-builds/src-noconflict/theme-xcode.js"></script>
<script type="text/javascript" src="assets/js/ace-builds/src-noconflict/mode-java.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="assets/js/jquery-scrolltofixed-min.js"></script>
<script>
ace.require("ace/ext/language_tools");
ace.require('ace/multi_select');
var editor = ace.edit("editor");
editor.setTheme("ace/theme/xcode");
editor.setShowPrintMargin(false);
editor.getSession().setMode("ace/mode/java");
editor.setOptions({
enableBasicAutocompletion: true,
enableSnippets: true,
enableLiveAutocompletion: true
});
document.getElementById('editor').style.fontSize='16px';
$(document).ready(function() {
$('#sorter-filter').scrollToFixed({ marginTop: 10, limit: function() {
var limit = $('.code-editor').offset().top - $('#sorter-filter').height() - 10;
return limit;
}, dontSetWidth: false, removeOffsets: true});
});
</script>
</body>
</html>