d050: 7-1 螢幕輸出「Welcome to APCS test.」
Tags : C++
Accepted rate : 1人/1人 ( 100% ) [非即時]
評分方式:
Tolerant

最近更新 : 2024-12-11 10:27

Content

讓我們創建一個函數,呼叫它時不需傳遞參數。

#include <iostream>
  using namespace std;
 
  int message()
  {
      cout << "Welcome to APCS test.";
      return 0;
  }
  int main()
  {
     message();
     return 0;
  }

Input
Output
Sample Input #1


											
										
Sample Output #1
Welcome to APCS test.
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (100%): 1.0s , <1K
Hint :
Tags:
C++
出處:
[管理者: zero(育達管理員) ]


ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」