This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package computergraphics; | |
import java.util.ArrayList; | |
public class Test { | |
public static void main(String[] args) { | |
validate("int dd,b, ZA,A, A, ddd,ac,a;"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package computergraphics; | |
import javax.imageio.ImageIO; | |
import javax.swing.JButton; | |
import javax.swing.JFileChooser; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import java.awt.Color; | |
import java.awt.Point; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace TestApp { | |
class Program { | |
static Dictionary<string, string> users = new Dictionary<string, string>(); | |
static void Main(string[] args) { | |
Input20Users(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.cursorBlinking": "phase", | |
"editor.formatOnSave": true, | |
"editor.renderLineHighlight": "gutter", | |
"editor.matchBrackets": "near", | |
"editor.occurrencesHighlight": true, | |
"editor.minimap.enabled": false, | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", | |
"editor.fontSize": 16, | |
"editor.fontLigatures": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Security.Cryptography; | |
namespace BlockChain | |
{ | |
public interface IBlock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
int main(int argc, char* argv[]) | |
{ | |
clock_t start, end; | |
double cpu_time_used; | |
start = clock(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Arrays; | |
class MinHeap { | |
private int capacity = 10; | |
private int size = 0; | |
int[] items = new int[capacity]; | |
private int getLeftChildIndex(int parentIndex) { | |
return 2 * parentIndex + 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <windows.h> | |
static TCHAR szClassName[] = L"Application"; | |
static TCHAR szWindowName[] = L"Title of the application"; | |
HINSTANCE hInst; | |
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.MODEL SMALL | |
.STACK 100H | |
.DATA | |
.CODE | |
PROC MAIN | |
MOV AX, @DATA | |
MOV DS, AX | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
class DogEvent { | |
public String message; | |
} | |
@FunctionalInterface | |
interface DogObserver { | |
void update(DogEvent event); |
NewerOlder