摘要:
#include<iostream>#include<cmath>using namespace std; class MyPoint { private: double x, y; public: // The no-arg constructor that contruccts a point 阅读全文
posted @ 2016-10-22 13:23
任我主宰
阅读(251)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <iomanip> #include <cmath> using namespace std; //your code will be hereclass Land { public: Land() : price_(0) {} explic 阅读全文
posted @ 2016-10-22 13:22
任我主宰
阅读(123)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<string>using namespace std; class Elements{ private: int value; static int numberOfObjects; public: Elements(); Elements(co 阅读全文
posted @ 2016-10-22 13:22
任我主宰
阅读(166)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <iomanip> #include <cmath> using namespace std; //your code will be hereclass Land { public: Land() : price_(0) {} explic 阅读全文
posted @ 2016-10-22 13:21
任我主宰
阅读(117)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; class Complex //复数类 { public: Complex(double real = 0, double imag = 0); Complex operator+(Complex& com); Comp 阅读全文
posted @ 2016-10-22 13:20
任我主宰
阅读(160)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<sstream>#include<iomanip>using namespace std;int main(){ int integer; string str; double doulb; while(cin>>str){ stringstre 阅读全文
posted @ 2016-10-22 13:16
任我主宰
阅读(106)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <list> using namespace std; int main(){ int n; while(cin >> n) { list <int> num; while(n--) { string s; cin >> s; if(s == 阅读全文
posted @ 2016-10-22 13:13
任我主宰
阅读(116)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<sstream>#include<cstring>using namespace std;int main(){ char s[1000]; string str; int count = 0; int count1 = 0; cin.get(s 阅读全文
posted @ 2016-10-22 13:12
任我主宰
阅读(115)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<cmath>using namespace std; class Point{ private: double x,y; public: Point(); Point(double xv,double yv); Point(Point& pt); 阅读全文
posted @ 2016-10-22 13:10
任我主宰
阅读(233)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<string> #include<string.h> using namespace std; char message[20][200]; int main() { string msg; int col; while(cin>>col&&c 阅读全文
posted @ 2016-10-22 13:08
任我主宰
阅读(151)
评论(0)
推荐(0)
浙公网安备 33010602011771号