# Basic I/O# String# Simple Output

d483 - hello, world

🔗 前往 ZeroJudge 原題

題目描述

題目要求輸出字串 "hello, world" (不含引號)。這是一個程式設計的入門題目,旨在驗證編譯器和開發環境是否安裝正確。

解題思路

此題非常簡單,只需要使用標準輸出函式 cout 將字串 "hello, world" 輸出到螢幕即可。不需要任何輸入或複雜的邏輯。

複雜度分析

  • 時間複雜度: O(1)
  • 空間複雜度: O(1)

程式碼

#include <iostream>

using namespace std;

int main (){
	cout << "hello, world";
}

Discussion