from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='problemset-home'),
    path('ide/', views.ide, name='online-ide'),
    path('run/', views.run, name='run-code'),
    path('problem/<int:pk>', views.problem, name='problemset-problem'),
    path('check/<int:pk>', views.check, name='check-code'),
    path('leaderboard',views.lead,name='leaderboard'),
    path('suggest',views.sugg,name='suggest'),
    path('topproblems',views.top,name='topproblems'),
    path('assign',views.assign,name='assign')
]