|
|
back to boardC++ What's wrong with my code? Posted by zimozi 20 Jul 2015 12:16 #include <iostream> using namespace std; int main() { int a[3],b[3]; for (int i = 0;i<3;i++) {cin>>a[i]>>b[i]; } cout<<a[0]-a[2]<<b[0]-b[1]; return 0; } Re: C++ What's wrong with my code? Posted by Egor 15 Sep 2015 01:24 You forgot the space. Re: C++ What's wrong with my code? Where am I must write the space? Only in output? Re: C++ What's wrong with my code? between ans1 << " " << ans2; |
|
|