POJ
wyj_2016
这个作者很懒,什么都没留下…
展开
-
POJ1001
C++源代码:// Exponentiation// 2017.03.13 by wyj (COPY)#include using namespace std;// 计算 多 乘以 一 的情况,例如,1234 * 4// many: 多位数// one: 单位数// offset: 乘10偏移// return: 返回计算结果char * MMO(char * many, char one,转载 2017-03-17 09:12:14 · 333 阅读 · 0 评论 -
POJ1002
// POJ1002.cpp// 487-3279// 2017.03.15by wyj#include #include #include #include #include using namespace std;int num[] ={ 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6,原创 2017-04-10 18:25:58 · 194 阅读 · 0 评论 -
POJ1003
C++源代码:// Hangover// 2017.03.14 by wyj#include int main(){ int n, i = 0,j; int k[530]; float s[530]; while (~scanf("%f", &s[i]), s[i]) { for (n = 1;s[i] > 0;++n) s[i原创 2017-04-10 18:48:34 · 327 阅读 · 0 评论 -
POJ1004
C++源代码:// Financial Management// 2017.03.15 by wyj#include int main(){ int i; float m[12]; float avg = 0; for (i=0;i <= 11;i++) { scanf("%f", &m[i]); avg += m[i]; }原创 2017-04-10 18:54:20 · 250 阅读 · 0 评论 -
POJ1005
C++源代码:// I Think I Need a Houseboat// 2017.03.15 by wyj#include#include#define pi 3.141592654using namespace std;int main(){ int n,i; int z[100]; float x, y; scanf_s("%d原创 2017-04-11 10:07:01 · 377 阅读 · 0 评论 -
POJ1006
C++源代码:// Biorhythms// 2017.03.16 by wyj#include#includeusing namespace std;int main(){ int p = 0, e = 0, i = 0, d = 0 ; //输入 int f[1000]; //存储每一行输出 int n = 0; int k,原创 2017-04-11 10:11:03 · 267 阅读 · 0 评论 -
POJ1007
C++源代码:// DNA Sorting// 2017.03.16 by wyj#include#include#includeusing namespace std;int main(){ int n, m, i, j, k, ans[100]; string str[100]; scanf_s("%d%d", &n, &m);原创 2017-04-11 10:13:11 · 253 阅读 · 0 评论 -
POJ1008
C++源代码:// Maya Calendar// 2017.03.17 by wyj#include#include#includeusing namespace std;int main(){ struct Haab { char day[5]; string month; int year; }; str原创 2017-04-11 10:18:10 · 297 阅读 · 0 评论 -
POJ1009
自己测试都没问题,但提交后却是Wrong Answer,不知道问题出在哪儿。C++源代码:// Edge Detection// 2017.03.19 by wyj#include #include #include#include#includeusing namespace std;int Inmap[1100][2], Outmap[1000原创 2017-04-11 10:22:48 · 347 阅读 · 0 评论