Skip to content

Instantly share code, notes, and snippets.

View bas-kirill's full-sized avatar
🎯
Focusing

kiryuxa bas-kirill

🎯
Focusing
View GitHub Profile
@bas-kirill
bas-kirill / task1.py
Last active August 13, 2021 13:33
Бас Кирилл. Задание по информатике
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
def reverseList(head: ListNode) -> ListNode:
previous = None
current = head
while current:
n = current.next
#include <iostream>
#include "queue.h"
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <ctime>
#include <locale.h>
using namespace std;
int main() {