-
-
0#include<stdio.h> #include<stdlib.h> #include "mat2.h" int main() { mat* m1=mat_new(1.0,2.0,3.0,4.0); mat* m2=mat_new(
-
0#ifndef MAT2 #define MAT2 #include "vector2.h" struct mat{ vec2f* v1; vec2f* v2; }; typedef struct mat mat; mat* mat_alloc() { mat
-
0#ifndef VECTOR2_H #define VECTOR2_H struct vec2f { float x; float y; }; typedef struct vec2f vec2f; vec2f* vec2f_alloc() { vec2f* ret; ret=(
-
0#include<iostream> #include<iomanip> #include<string> #include<algorithm> #include<cmath> using namespace std;
-
0#include<iomanip> #include<cmath> #include<cmath> using namespace std; int main() { int a, b, c, d; cin >> a >>