基本格式

#include <iostream>ios

#include <fstream>算法

using namespace std;spa

ifstream fin("fin.in");it

ofstream fout("fout.out");io

void Input()class

{stream

              ;//please  written at hereco

}void

void algorithm()

{

       ;//please  written at here

}

void  Output()

{

       ;//please  written at here

}

int main()

{

  Input();       //输入

 algorithm();  //算法

 Output();   //输出

}

相关文章
相关标签/搜索