基本格式

#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();   //輸出

}

相關文章
相關標籤/搜索