Skip to content

Instantly share code, notes, and snippets.

View aflah02's full-sized avatar
🎯
Focusing

Aflah aflah02

🎯
Focusing
View GitHub Profile
public class Main {
public static void main(String[] args) {
Animal A1 = new elephant("elephant 1");
Animal A2 = new elephant("elephant 2");
A1.eat();
A1.dance(A2);
}
}
interface Animal {
public void eat();
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Template {
static BufferedReader br;
00000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000001 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000100 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000101 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000110 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
0000000001010011
0111100000000100
0000000000101010
0010100000000111
0000000001010011
00000000 0000000000110010 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000001 0000000000110010 0000000000010100 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000010 0000000000110010 0000000000010100 0000000000100001 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000011 0000000000110010 0000000000010100 0000000000100001 0000000000001010 0000000000000000 0000000000000000 0000000000000000 0000000000000000
00000100 0000000000110010 0000000000010100 0000000000100001 0000000000001010 0000000011111111 0000000000000000 0000000000000000 0000000000000000
00000101 0000000000110010 0000000000010100 0000000000100001 0000000000001010 0000000011111111 0000000011111111 0000000000000000 0000000000000000
00000110 0000000000110010 0000000000010100 0000000000100001 0000000000001010 0000000011111111 0000000011111111 0000000001100100 0000000000000000
00000111
extra test cases by legend
#1
var a
st R1 a
hlt
#2
var a
st R1 abc
hlt
#3
aflah@LAPTOP-  /mnt/c/Users/ASUS/Desktop/CO_M21_Assignment/automatedTesting   master  ./run --verbose
==================================================
================ TESTING ASSEMBLER ===============
==================================================
Runing simple tests
Mismatch at line 1.
Mismatch at line 2.
Mismatch at line 3.
Mismatch at line 4.
/**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode() {}
* TreeNode(int val) { this.val = val; }
* TreeNode(int val, TreeNode left, TreeNode right) {
* this.val = val;
@aflah02
aflah02 / mnist_pytorch.ipynb
Created May 27, 2021 06:10
MNIST_PyTorch.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.