Monthly Archives: August 2016

A man in his twenties (in hex)

As a full stack programmer,which is also a experienced software architect, whom has one boy and one girl ,happy with everyday life~~

Posted in wanted | Comments Off on A man in his twenties (in hex)

Poj Solution 3984

http://poj.org/problem?id=3984 #include <iostream> using namespace std; const int M=2147483647; int b[5][5]; void calc(int a[][5],int i,int j); void print(int i,int j); int main() { int i,j; int a[5][5]; for(i=0;i<=4;i++) for(j=0;j<=4;j++) { cin>>a[i][j]; if(a[i][j]==1) a[i][j]=M; } calc(a,0,0); print(4,4); return 0; } void … Continue reading

Posted in poj | Comments Off on Poj Solution 3984

Poj Solution 3983

http://poj.org/problem?id=3983 #include<stdio.h> int main(){ printf("5*(5-(1/5))n"); return 0; }

Posted in poj | Comments Off on Poj Solution 3983

Poj Solution 3982

http://poj.org/problem?id=3982 #include <stdio.h> #include <string.h> #include <stdlib.h> #define MAX_LEN 1024 void BigIntegerAdd(const char a[], const char b[], char res[]) { int i, j, k; int x, y, z; int up, l; char *c; if(strlen(a) > strlen(b)) { l = strlen(a) … Continue reading

Posted in poj | Comments Off on Poj Solution 3982