/in/Main.java:1: error: illegal character: '#'
#include<iostream>
^
/in/Main.java:1: error: class, interface, or enum expected
#include<iostream>
^
/in/Main.java:4: error: class, interface, or enum expected
int GetDepth(int x)
^
/in/Main.java:8: error: class, interface, or enum expected
while(x!=1)
^
/in/Main.java:12: error: class, interface, or enum expected
else
^
/in/Main.java:14: error: class, interface, or enum expected
Depth++;
^
/in/Main.java:16: error: class, interface, or enum expected
}
^
/in/Main.java:18: error: class, interface, or enum expected
}
^
/in/Main.java:22: error: class, interface, or enum expected
int x; cin>>x;
^
/in/Main.java:23: error: class, interface, or enum expected
int depth=GetDepth(x);
^
/in/Main.java:24: error: class, interface, or enum expected
cout<<depth<<endl;
^
/in/Main.java:25: error: class, interface, or enum expected
return 0;
^
/in/Main.java:26: error: class, interface, or enum expected
}
^
13 errors