Skip to content

Instantly share code, notes, and snippets.

@kitkatmia
kitkatmia / matmul.py
Created October 5, 2025 05:42
Coding Challenge for Application for AI Safety at UCLA, Intro Fellowship (Fall 2025)
#!/usr/bin/env python3
import numpy as np
matrix_size = int(input())
def readNxNMatrix(matrix_size):
"""
Take in string input that's matrix_size number of lines and convert it to a matrix of size matrix_size x matrix_size
"""