6 solutions
- 1
Information
- ID
- 847
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 6
- Tags
- # Submissions
- 1341
- Accepted
- 439
- Uploaded By
#include <iostream>
using namespace std;
int main()
{
int a , b, c;
cin >> a >> b >> c;
// cout << left << setw(8) << a ;
// cout <<right<< " "<< setw(8) << b << " "
// << setw(8) << c << endl;
printf("%8d %8d %8d\n",a,b,c);
}
考试不加return 0,赛后就吃0鸭蛋
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int a,b,c;
cin >> a >> b >> c;
cout << setw(8) << a << ' ';
cout << setw(8) << b << ' ';
cout << setw(8) <<c;
return 0;
}
有标志认证,属三无产品,请各位放心食用
三无产品还放心食用?
#include
#include
using namespace std;
int main()
{
int a,b,c;
cin >> a >> b >> c;
cout << setw(8) << a << ' ';
cout << setw(8) << b << ' ';
cout << setw(8) <<c;
return 0;
}
#include <stdio.h>
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int a , b, c;
cin >> a >> b >> c;
// cout << left << setw(8) << a ;
// cout <<right<< " "<< setw(8) << b << " "
// << setw(8) << c << endl;
printf("%8d %8d %8d\n",a,b,c);
}
By signing up a TeMenHu universal account, you can submit code and join discussions in all online judging services provided by us.