-7
一個C++程序,可以輸出不超過55個字符的輸入。輸出輸入C++的最短途徑
例輸入:
abc
123
bjgf
輸出示例:
abc
123
bjgf
爲我工作至今最短代碼:
#include <iostream>
#include <stdio.h>
main(){
int i;
while((i=std::cin.get())!=EOF)
{
std::cout.put(i);
}
}
請問不同的頁眉工作?
main()without type is non-iso –
看起來這可能更適合[Code Golf](http://codegolf.stackexchange.com/)。但是我對這個網站的規則並不熟悉,不知道是否需要做更多的工作才能讓它在那裏被接受,所以請在發佈前四處看看。 – Angew