/in/Main.java:1: error: illegal character: '#'
#include<iostream>
^
/in/Main.java:1: error: class, interface, or enum expected
#include<iostream>
^
/in/Main.java:2: error: illegal character: '#'
#include <cstdio>
^
/in/Main.java:4: error: '{' expected
class Matrix3;
^
/in/Main.java:5: error: ';' expected
Matrix3 operator +(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:5: error: <identifier> expected
Matrix3 operator +(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:5: error: <identifier> expected
Matrix3 operator +(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:5: error: ';' expected
Matrix3 operator +(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:5: error: <identifier> expected
Matrix3 operator +(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:6: error: ';' expected
Matrix3 operator -(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:6: error: <identifier> expected
Matrix3 operator -(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:6: error: <identifier> expected
Matrix3 operator -(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:6: error: ';' expected
Matrix3 operator -(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:6: error: <identifier> expected
Matrix3 operator -(Matrix3 &M1, Matrix3 &M2);
^
/in/Main.java:7: error: '{' expected
class Vector3;
^
/in/Main.java:8: error: ';' expected
Vector3 operator +(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:8: error: <identifier> expected
Vector3 operator +(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:8: error: <identifier> expected
Vector3 operator +(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:8: error: ';' expected
Vector3 operator +(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:8: error: <identifier> expected
Vector3 operator +(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:9: error: ';' expected
Vector3 operator -(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:9: error: <identifier> expected
Vector3 operator -(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:9: error: <identifier> expected
Vector3 operator -(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:9: error: ';' expected
Vector3 operator -(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:9: error: <identifier> expected
Vector3 operator -(Vector3 &v1, Vector3 &v2);
^
/in/Main.java:12: error: illegal start of type
public:
^
/in/Main.java:12: error: ';' expected
public:
^
/in/Main.java:13: error: ']' expected
int a[3];
^
/in/Main.java:13: error: ';' expected
int a[3];
^
/in/Main.java:14: error: illegal start of type
public:
^
/in/Main.java:14: error: ';' expected
public:
^
/in/Main.java:15: error: '{' expected
friend class Matrix3;
^
/in/Main.java:16: error: invalid method declaration; return type required
Vector3()
^
/in/Main.java:22: error: illegal start of type
~Vector3() {}
^
/in/Main.java:22: error: ';' expected
~Vector3() {}
^
/in/Main.java:22: error: illegal start of type
~Vector3() {}
^
/in/Main.java:22: error: <identifier> expected
~Vector3() {}
^
/in/Main.java:22: error: ';' expected
~Vector3() {}
^
/in/Main.java:23: error: <identifier> expected
Vector3(Vector3 &v)
^
/in/Main.java:23: error: ';' expected
Vector3(Vector3 &v)
^
/in/Main.java:23: error: illegal start of type
Vector3(Vector3 &v)
^
/in/Main.java:23: error: <identifier> expected
Vector3(Vector3 &v)
^
/in/Main.java:24: error: ';' expected
{
^
/in/Main.java:25: error: <identifier> expected
int i;
^
/in/Main.java:26: error: illegal start of type
for(i=0; i<3; i++)
^
/in/Main.java:26: error: <identifier> expected
for(i=0; i<3; i++)
^
/in/Main.java:26: error: ';' expected
for(i=0; i<3; i++)
^
/in/Main.java:26: error: illegal start of type
for(i=0; i<3; i++)
^
/in/Main.java:26: error: <identifier> expected
for(i=0; i<3; i++)
^
/in/Main.java:26: error: ';' expected
for(i=0; i<3; i++)
^
/in/Main.java:26: error: illegal start of type
for(i=0; i<3; i++)
^
/in/Main.java:26: error: <identifier> expected
for(i=0; i<3; i++)
^
/in/Main.java:26: error: ';' expected
for(i=0; i<3; i++)
^
/in/Main.java:27: error: illegal start of type
a[i] = v.a[i];
^
/in/Main.java:27: error: ';' expected
a[i] = v.a[i];
^
/in/Main.java:27: error: ']' expected
a[i] = v.a[i];
^
/in/Main.java:27: error: ';' expected
a[i] = v.a[i];
^
/in/Main.java:29: error: ';' expected
friend ostream& operator <<(ostream &o, Vector3 &v)
^
/in/Main.java:29: error: <identifier> expected
friend ostream& operator <<(ostream &o, Vector3 &v)
^
/in/Main.java:29: error: illegal start of type
friend ostream& operator <<(ostream &o, Vector3 &v)
^
/in/Main.java:29: error: ';' expected
friend ostream& operator <<(ostream &o, Vector3 &v)
^
/in/Main.java:29: error: <identifier> expected
friend ostream& operator <<(ostream &o, Vector3 &v)
^
/in/Main.java:29: error: ';' expected
friend ostream& operator <<(ostream &o, Vector3 &v)
^
/in/Main.java:29: error: <identifier> expected
friend ostream& operator <<(ostream &o, Vector3 &v)
^
/in/Main.java:33: error: ';' expected
friend istream& operator >>(istream &i, Vector3 &v)
^
/in/Main.java:33: error: <identifier> expected
friend istream& operator >>(istream &i, Vector3 &v)
^
/in/Main.java:33: error: illegal start of type
friend istream& operator >>(istream &i, Vector3 &v)
^
/in/Main.java:33: error: ';' expected
friend istream& operator >>(istream &i, Vector3 &v)
^
/in/Main.java:33: error: <identifier> expected
friend istream& operator >>(istream &i, Vector3 &v)
^
/in/Main.java:33: error: ';' expected
friend istream& operator >>(istream &i, Vector3 &v)
^
/in/Main.java:33: error: <identifier> expected
friend istream& operator >>(istream &i, Vector3 &v)
^
/in/Main.java:37: error: ';' expected
friend Vector3 operator +(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:37: error: <identifier> expected
friend Vector3 operator +(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:37: error: illegal start of type
friend Vector3 operator +(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:37: error: ';' expected
friend Vector3 operator +(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:37: error: <identifier> expected
friend Vector3 operator +(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:37: error: ';' expected
friend Vector3 operator +(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:37: error: <identifier> expected
friend Vector3 operator +(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:45: error: ';' expected
friend Vector3 operator -(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:45: error: <identifier> expected
friend Vector3 operator -(Vector3 &v1, Vector3 &v2)
^
/in/Main.java:45: error: illegal start of type
friend Vector3 operator -(Vector3 &v