├── static
├── files
│ ├── README
│ ├── 1.jpg
│ ├── 2.jpg
│ ├── 2.pdf
│ ├── 3.jpg
│ ├── 4.jpg
│ └── default.jpg
├── js
│ ├── src
│ │ ├── mode-text.js
│ │ ├── theme-textmate.js
│ │ ├── mode-lucene.js
│ │ ├── ext-spellcheck.js
│ │ ├── ext-static_highlight.js
│ │ ├── theme-eclipse.js
│ │ ├── theme-xcode.js
│ │ ├── mode-sql.js
│ │ ├── theme-clouds.js
│ │ ├── theme-vibrant_ink.js
│ │ ├── theme-github.js
│ │ ├── theme-merbivore.js
│ │ ├── theme-idle_fingers.js
│ │ ├── theme-monokai.js
│ │ ├── theme-dawn.js
│ │ ├── theme-solarized_dark.js
│ │ ├── theme-kr.js
│ │ ├── theme-solarized_light.js
│ │ ├── theme-cobalt.js
│ │ ├── theme-clouds_midnight.js
│ │ ├── theme-merbivore_soft.js
│ │ ├── theme-twilight.js
│ │ ├── theme-chaos.js
│ │ ├── theme-tomorrow.js
│ │ ├── mode-lisp.js
│ │ ├── theme-pastel_on_dark.js
│ │ ├── theme-chrome.js
│ │ ├── theme-crimson_editor.js
│ │ ├── theme-tomorrow_night.js
│ │ ├── theme-mono_industrial.js
│ │ └── mode-scheme.js
│ ├── changevalidate.js
│ └── validate.js
├── images
│ ├── 1.jpg
│ ├── 2.jpg
│ ├── 3.png
│ ├── S1.jpg
│ ├── S2.jpg
│ ├── bg3.jpg
│ └── sr.jpg
├── img
│ ├── error.png
│ ├── valid.png
│ ├── glyphicons-halflings.png
│ └── glyphicons-halflings-white.png
└── css
│ └── editor.css
├── loadb
├── templates
│ └── index.html
├── loadbalancer.py
└── pqueue.py
├── server1
├── Problems
│ ├── 1_input_err_1366211070
│ ├── 2_input_err_1366211255
│ ├── 3_input_err_1366211304
│ ├── 1_input
│ ├── 2_input
│ ├── 3_input
│ ├── 1_input_out_1366211070
│ ├── 2_input_out_1366211255
│ ├── 3_input_out_1366211304
│ └── README
├── templates
│ └── index.html
├── runner
└── server1.py
├── runner
├── database.db
├── templates
├── success.html
├── scoreboard.html
├── notifications.html
├── search_results.html
├── follow.html
├── code.html
├── question_comments.html
├── contact.html
├── question_discuss.html
├── show_entries.html
├── forgot.html
├── edit_contest.html
├── contest_questions.html
├── about.html
├── show_question.html
├── submissions.html
├── show_entries_with.html
├── change.html
├── profile_edit.html
├── profile.html
├── index.html
└── admin_header.html
├── views.py
├── runserver.py
├── question_comments.py
├── schema.sql
├── discuss_views.py
└── login_views.py
/static/files/README:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/js/src/mode-text.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/js/src/theme-textmate.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/loadb/templates/index.html:
--------------------------------------------------------------------------------
1 | hello world
--------------------------------------------------------------------------------
/server1/Problems/1_input_err_1366211070:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server1/Problems/2_input_err_1366211255:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server1/Problems/3_input_err_1366211304:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server1/templates/index.html:
--------------------------------------------------------------------------------
1 | hello world
--------------------------------------------------------------------------------
/server1/Problems/1_input:
--------------------------------------------------------------------------------
1 | 2
2 | 2
3 | 4
4 |
--------------------------------------------------------------------------------
/server1/Problems/2_input:
--------------------------------------------------------------------------------
1 | 2
2 | 2
3 | 4
4 |
--------------------------------------------------------------------------------
/server1/Problems/3_input:
--------------------------------------------------------------------------------
1 | 2
2 | 2
3 | 4
4 |
--------------------------------------------------------------------------------
/server1/Problems/1_input_out_1366211070:
--------------------------------------------------------------------------------
1 |
2 | 2
3 | 4
4 |
--------------------------------------------------------------------------------
/server1/Problems/2_input_out_1366211255:
--------------------------------------------------------------------------------
1 |
2 | 2
3 | 4
4 |
--------------------------------------------------------------------------------
/server1/Problems/3_input_out_1366211304:
--------------------------------------------------------------------------------
1 |
2 | 2
3 | 4
4 |
--------------------------------------------------------------------------------
/runner:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/runner
--------------------------------------------------------------------------------
/database.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/database.db
--------------------------------------------------------------------------------
/server1/runner:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/server1/runner
--------------------------------------------------------------------------------
/server1/Problems/README:
--------------------------------------------------------------------------------
1 | #In this folder all the submissions made on the server 1 are stored
2 |
--------------------------------------------------------------------------------
/static/files/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/files/1.jpg
--------------------------------------------------------------------------------
/static/files/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/files/2.jpg
--------------------------------------------------------------------------------
/static/files/2.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/files/2.pdf
--------------------------------------------------------------------------------
/static/files/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/files/3.jpg
--------------------------------------------------------------------------------
/static/files/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/files/4.jpg
--------------------------------------------------------------------------------
/static/images/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/images/1.jpg
--------------------------------------------------------------------------------
/static/images/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/images/2.jpg
--------------------------------------------------------------------------------
/static/images/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/images/3.png
--------------------------------------------------------------------------------
/static/images/S1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/images/S1.jpg
--------------------------------------------------------------------------------
/static/images/S2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/images/S2.jpg
--------------------------------------------------------------------------------
/static/images/bg3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/images/bg3.jpg
--------------------------------------------------------------------------------
/static/images/sr.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/images/sr.jpg
--------------------------------------------------------------------------------
/static/img/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/img/error.png
--------------------------------------------------------------------------------
/static/img/valid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/img/valid.png
--------------------------------------------------------------------------------
/static/files/default.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/files/default.jpg
--------------------------------------------------------------------------------
/static/img/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/img/glyphicons-halflings.png
--------------------------------------------------------------------------------
/static/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arihantsethia/ProjectBazinga/HEAD/static/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/templates/success.html:
--------------------------------------------------------------------------------
1 | {% extends "admin_header.html" %}
2 | {% block body %}
3 |
5 |
8 | {% if count==0 %}
9 | There are no results to display.
10 | {% else %}
11 | {% for name in names %}
12 |
13 | {% endfor %}
14 | {% endif %}
15 |
16 | {% endblock %}
--------------------------------------------------------------------------------
/static/css/editor.css:
--------------------------------------------------------------------------------
1 | .ace_editor {
2 | position: relative !important;
3 | border: 1px solid lightgray;
4 | margin: auto;
5 | height: 600px;
6 | width: 100%;
7 | }
8 |
9 | .ace_editor.fullScreen {
10 | height: auto;
11 | width: auto;
12 | border: 0;
13 | margin: 0;
14 | position: fixed !important;
15 | top: 0;
16 | bottom: 0;
17 | left: 0;
18 | right: 0;
19 | z-index: 10;
20 | background: white;
21 | }
22 |
23 | .fullScreen {
24 | overflow: hidden
25 | }
--------------------------------------------------------------------------------
/templates/follow.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 |
6 |
9 | {% for i in following %}
10 |
11 |
12 | Problem Language Points Submission Time
13 | {% for j in info %}
14 | {% if j.user_id == i.following %}
15 | {{j.question_name}} {{j.lang}} {{j.points}} {{j.submission_time}}
16 | {% endif %}
17 | {% endfor %}
18 |
19 |
20 | {% endfor %}
21 |
22 | {% endblock %}
--------------------------------------------------------------------------------
/templates/code.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 |
7 |
8 |
9 |
10 |
11 | {% for contest in contests %}
12 |
13 |
14 |
15 |
{{ contest.short_description }}
16 |
View details »
17 |
18 | {% endfor %}
19 |
20 |
21 |
22 | {% endblock %}
23 |
24 |
--------------------------------------------------------------------------------
/templates/question_comments.html:
--------------------------------------------------------------------------------
1 | {% if session.logged_in %}
2 |
14 | {% endif %}
15 | {% set i =0%}
16 | {% for text in entries %}
17 |
22 | {% set i = i+1 %}
23 | {% endfor %}
24 |
25 |
26 |
--------------------------------------------------------------------------------
/templates/contact.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 | {% if not message %}
6 |
30 | {% endif %}
31 | {% endblock %}
--------------------------------------------------------------------------------
/views.py:
--------------------------------------------------------------------------------
1 | # Views.py : Handles the views of general modules
2 | from flask import Flask, request, session, g, redirect, url_for, abort, \
3 | render_template, flash, _app_ctx_stack,Blueprint
4 | import smtplib
5 | #Defining the Blueprint for views.py
6 | views = Blueprint('views',__name__)
7 |
8 | @views.route('/')
9 | def index():
10 | return render_template("index.html")
11 |
12 | @views.route('/home')
13 | def home():
14 | return render_template("index.html")
15 |
16 | @views.route('/about')
17 | def about():
18 | return render_template("about.html")
19 |
20 | @views.route('/contact', methods=['GET', 'POST'])
21 | def contact():
22 | if request.method == 'POST':
23 | email_to = "contact@bazinga.com"
24 | email_from = request.form['email']
25 | email_subject = request.form['subject']
26 | email_msg = request.form['msg']+'\n'+ request.form['firstname']+' '+request.form['lastname']
27 | #Define host to send mail
28 | #server = smtplib.SMTP(HOST)
29 | #server.sendmail(email_from, [email_to], email_msg)
30 | #server.quit()
31 | message = "Thank You for Contacting Us. We will soon get in touch with you."
32 | return render_template("index.html" , message = message)
33 | return render_template("contact.html")
34 |
35 |
36 |
--------------------------------------------------------------------------------
/templates/question_discuss.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 |
6 |
13 | {% if session.logged_in %}
14 |
15 |
16 |
17 |
18 |
19 |
20 | Answer This Question
21 |
22 |
23 | {% endif %}
24 |
See Answers
25 | {% for text in entries %}
26 |
27 |
{{text.answer}}
28 |
29 |
Answered on {{ text.time }}
30 |
31 |
32 | {% endfor %}
33 |
34 | {% endblock %}
35 |
--------------------------------------------------------------------------------
/templates/show_entries.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 |
6 |
9 |
10 | {% if session.logged_in %}
11 |
12 |
13 | Ask a Question
14 |
15 |
16 |
17 |
18 | Ask Question
19 |
20 |
21 | {% endif %}
22 |
23 |
24 |
25 |
See Questions
26 | {% for text in entries %}
27 |
28 |
{{text.title}}
29 |
{{text.description}}
30 |
31 |
Posted on {{ text.time }}
32 |
33 |
34 |
35 | {% endfor %}
36 |
37 |
38 |
39 | {% endblock %}
40 |
41 |
--------------------------------------------------------------------------------
/templates/forgot.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 |
7 |
8 |
9 |
10 |
11 |
12 | Reset your Password
13 |
14 |
15 |
16 |
Username
17 |
18 |
19 |
Username can contain any letters or numbers, without spaces
20 |
21 |
22 |
23 |
24 |
25 |
E-mail
26 |
27 |
28 |
Please provide your E-mail
29 |
30 |
31 |
32 |
33 |
34 | Reset Password
35 |
36 |
37 |
38 |
39 |
40 | {% endblock %}
41 |
42 |
--------------------------------------------------------------------------------
/loadb/loadbalancer.py:
--------------------------------------------------------------------------------
1 | # Main File : This has to be run to start the server
2 | from __future__ import with_statement
3 | from pqueue import priority_dict
4 | from flask import Flask, request, session, g, redirect, url_for, abort, \
5 | render_template, flash, _app_ctx_stack,Blueprint, jsonify
6 | from sqlite3 import dbapi2 as sqlite3
7 | from flask import Flask, _app_ctx_stack
8 | from Queue import PriorityQueue
9 |
10 | import urllib
11 | import urllib2
12 |
13 | # Database Configuration
14 | DATABASE = 'database.db'
15 | DEBUG = True
16 | SECRET_KEY = 'development key'
17 | USERNAME = 'admin'
18 | PASSWORD = 'default'
19 |
20 | # Defining the application by creating an instance of Flask
21 | app = Flask(__name__)
22 | app.config.from_object(__name__)
23 | app.config.from_envvar('FLASKR_SETTINGS', silent=True)
24 |
25 | p = PriorityQueue()
26 |
27 | def initp():
28 | global p
29 | p = priority_dict()
30 | p['http://localhost:2345'] = 0
31 | #print 'sdf'
32 | #print p.get()
33 |
34 | @app.route('/', methods=['GET', 'POST'])
35 | def getserver():
36 | #print 'dsf'
37 | #print p
38 | global p
39 | sm = p.smallest()
40 | p[sm] += 1
41 | if request.method=='POST':
42 | print request.form
43 | url = sm #least loaded server
44 | values = {'qid' : request.form['qid'], 'code': request.form['code'], 'lang': request.form['lang'], 'user_id': request.form['user_id'] }
45 |
46 | data = urllib.urlencode(values)
47 | response = urllib2.urlopen(url, data)
48 | page = response.read()
49 | return jsonify(server=sm)
50 |
51 | if __name__ == '__main__':
52 | #init_db()
53 | initp()
54 | app.run(host='0.0.0.0', port=1234)
55 |
56 |
57 |
--------------------------------------------------------------------------------
/static/js/changevalidate.js:
--------------------------------------------------------------------------------
1 | function validatechange()
2 | {
3 |
4 | var username=document.forms["change"]["username"].value;
5 | var password=document.forms["change"]["password"].value;
6 | var newpassword=document.forms["change"]["newpassword"].value;
7 | var cofpassword=document.forms["change"]["cofpassword"].value;
8 | var flag=0;
9 | if (username==null || username=="")
10 | {
11 | change.username.style.borderColor='red';
12 | change.username.focus();
13 | flag=1;
14 | }
15 | else
16 | {
17 | change.username.style.borderColor='green';
18 | }
19 |
20 | if (password==null || password=="")
21 | {
22 | change.password.style.borderColor='red';
23 | change.password.focus();
24 | flag=1;
25 | }
26 | else
27 | {
28 | change.password.style.borderColor='green';
29 | }
30 |
31 | if (newpassword==null || newpassword=="")
32 | {
33 | change.newpassword.style.borderColor='red';
34 | change.newpassword.focus();
35 | flag=1;
36 | }
37 | else
38 | {
39 | change.newpassword.style.borderColor='green';
40 | }
41 |
42 | if (cofpassword==null || cofpassword=="")
43 | {
44 | change.cofpassword.style.borderColor='red';
45 | change.cofpassword.focus();
46 | flag=1;
47 | }
48 | else
49 | {
50 | change.cofpassword.style.borderColor='green';
51 | }
52 | if(cofpassword!="" && newpassword!="")
53 | {
54 | if (newpassword!=cofpassword)
55 | {
56 | change.newpassword.style.borderColor='red';
57 | change.cofpassword.style.borderColor='red';
58 | flag=1;
59 | }
60 | else
61 | {
62 | change.cofpassword.style.borderColor='green';
63 | change.newpassword.style.borderColor='green';
64 | }
65 | }
66 |
67 | if (flag==1)
68 | {
69 | return false;
70 | }
71 | }
72 |
73 |
--------------------------------------------------------------------------------
/runserver.py:
--------------------------------------------------------------------------------
1 | # Main File : This has to be run to start the server
2 | from __future__ import with_statement
3 | from sqlite3 import dbapi2 as sqlite3
4 | from flask import Flask, _app_ctx_stack
5 | from views import views
6 | from contest_views import contest_views
7 | from login_views import login_views
8 | from profile_views import profile_views
9 | from discuss_views import discuss_views
10 | from admin_views import admin_views
11 | from question_comments import question_comments
12 |
13 | # Database Configuration
14 | DATABASE = 'database.db'
15 | DEBUG = True
16 | SECRET_KEY = 'development key'
17 | USERNAME = 'admin'
18 | PASSWORD = 'default'
19 |
20 | # Defining the application by creating an instance of Flask
21 | app = Flask(__name__)
22 | app.config.from_object(__name__)
23 | app.config.from_envvar('FLASKR_SETTINGS', silent=True)
24 |
25 | # Blueprints : Setting the blueprints for handling various routes
26 | app.register_blueprint(views)
27 | app.register_blueprint(contest_views)
28 | app.register_blueprint(login_views)
29 | app.register_blueprint(profile_views)
30 | app.register_blueprint(discuss_views)
31 | app.register_blueprint(admin_views)
32 | app.register_blueprint(question_comments)
33 | #Initaialzes the database from the database schema give in 'schema.sql'
34 | def init_db():
35 | with app.app_context():
36 | db = get_db()
37 | with app.open_resource('schema.sql') as f:
38 | db.cursor().executescript(f.read())
39 | db.commit()
40 | print db
41 |
42 | #Establishes the connection with the database
43 | def get_db():
44 | top = _app_ctx_stack.top
45 | if not hasattr(top, 'sqlite_db'):
46 | sqlite_db = sqlite3.connect(app.config['DATABASE'])
47 | sqlite_db.row_factory = sqlite3.Row
48 | top.sqlite_db = sqlite_db
49 | return top.sqlite_db
50 |
51 | if __name__ == '__main__':
52 | #init_db()
53 | app.run(host='0.0.0.0')
54 |
55 |
56 |
--------------------------------------------------------------------------------
/templates/edit_contest.html:
--------------------------------------------------------------------------------
1 | {% extends "admin_header.html" %}
2 | {% block body %}
3 | {% if not session.admin_logged_in %}
4 |
5 |
Login
6 | {% if error %}
Error: {{ error }}{% endif %}
7 |
8 |
26 |
27 |
28 | {% else %}
29 |
30 |
31 |
32 |
35 |
36 | {% for contest in contests %}
37 |
38 |
39 |
40 |
{{ contest.short_description }}
41 |
View details »
42 |
43 | {% endfor %}
44 |
45 | {% endif %}
46 | {% endblock %}
47 |
--------------------------------------------------------------------------------
/static/js/validate.js:
--------------------------------------------------------------------------------
1 | function validateform()
2 | {
3 |
4 | var username=document.forms["register"]["username"].value;
5 | var password=document.forms["register"]["password"].value;
6 | var cofpassword=document.forms["register"]["cofpassword"].value;
7 | var mail=document.forms["register"]["email"].value;
8 | var name=document.forms["register"]["name"].value;
9 | var atpos=mail.indexOf("@");
10 | var dotpos=mail.lastIndexOf(".");
11 | var flag=0;
12 | if (username==null || username=="")
13 | {
14 | register.username.style.borderColor='red';
15 | register.username.focus();
16 | flag=1;
17 | }
18 | else
19 | {
20 | register.username.style.borderColor='green';
21 | }
22 |
23 | if (password==null || password=="")
24 | {
25 | register.password.style.borderColor='red';
26 | register.password.focus();
27 | flag=1;
28 | }
29 | else
30 | {
31 | register.password.style.borderColor='green';
32 | }
33 |
34 | if (cofpassword==null || cofpassword=="")
35 | {
36 | register.cofpassword.style.borderColor='red';
37 | register.cofpassword.focus();
38 | flag=1;
39 | }
40 | else
41 | {
42 | register.cofpassword.style.borderColor='green';
43 | }
44 |
45 | if(cofpassword!="" && password!="")
46 | {
47 | if (password!=cofpassword)
48 | {
49 | register.password.style.borderColor='red';
50 | register.cofpassword.style.borderColor='red';
51 | flag=1;
52 | }
53 | else
54 | {
55 | register.cofpassword.style.borderColor='green';
56 | }
57 | }
58 |
59 |
60 | if (mail==null || mail=="")
61 | {
62 | register.email.style.borderColor='red';
63 | register.email.focus();
64 | flag=1;
65 | }
66 | else
67 | {
68 | if (atpos<1 || dotpos
=mail.length)
69 | {
70 | register.email.style.borderColor='red';
71 | flag=1;
72 | }
73 | else
74 | {
75 | register.email.style.borderColor='green';
76 | }
77 | }
78 |
79 | if (name==null || name=="")
80 | {
81 | register.name.style.borderColor='red';
82 | register.name.focus();
83 | flag=1;
84 | }
85 | else
86 | {
87 | register.name.style.borderColor='green';
88 | }
89 |
90 | if (flag==1)
91 | {
92 | return false;
93 | }
94 | }
95 |
96 |
--------------------------------------------------------------------------------
/templates/contest_questions.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 |
6 |
9 |
10 |
14 |
15 |
16 |
{{ contest.name }}
17 |
{{ contest.long_description|safe }}
18 |
19 |
20 |
21 |
22 |
23 | Questions
24 |
25 | Question
26 | Points
27 | Difficulty
28 | Solved
29 |
30 |
31 | {% for question in questions %}
32 |
33 |
34 | {{ question.question_name }}
35 | {{ question.question_name }}
36 | {{ question.question_name }}
37 | {{ question.question_name }}
38 |
39 |
40 | {% endfor %}
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
64 | {% endblock %}
65 |
--------------------------------------------------------------------------------
/templates/about.html:
--------------------------------------------------------------------------------
1 | {% extends "header.html" %}
2 | {% block body %}
3 |
4 |
5 |
6 |
About
7 |
8 |
Project Bazinga is a global programming community. We host contests, trainings and events for programmers around the world. Our goal is to provide a platform for programmers everywhere to meet, compete, and have fun. Project Bazinga is a noncommercial organization operated by a bunch of students studying in IIT Guwahati
9 |
10 |
The Community
11 |
12 |
Project Bazinga is not just a contest platform - it's a community for aspiring programmers.
13 |
14 | We post such questions on Project Bazinga which pull the user's interest in programming.
15 | We host events online and in person.
16 | "Following" feature makes the user get social with other programmers.
17 | Discussion modules for all questions makes the logic and doubts behind the questions clear.
18 | Our Facebook Group and page help everyone stay updated and connected.
19 |
20 |
Many people worldwide have joined Project Bazinga so far, and we're always looking for more.
21 |
22 |
The IIT-Gians
23 |
24 |
Project Bazinga is a noncommercial Educational Initiative from students of department of CSE,IIT Guwahati, a very profound technical institute in India. With Project Bazinga, we aim to create a global community that fosters learning and friendly competition. As we are based in India, we take extra steps to encourage the programming community here.
25 |
The Contest Organizers
26 |
Project Bazinga relies on its dedicated community to help us run the site. If you are interested in holding a contest for your company or organization, feel free to contact us to become moderators.
27 |
Contact
28 |
If you have any suggestions on how we can make Project Bazinga better, or if you have any questions, please don't hesitate to get in touch. Just use feedback@bazinga.com .
29 |
30 |
31 |