From 51d385a52e00c6bfd008b7005332ee04c9f79e73 Mon Sep 17 00:00:00 2001 From: dujinyan1 Date: Wed, 8 Jul 2026 15:07:10 +0800 Subject: [PATCH] Fix output stream operator in main.cpp --- exercises/00_hello_world/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/00_hello_world/main.cpp b/exercises/00_hello_world/main.cpp index 8866f3c15..5a9d962b7 100644 --- a/exercises/00_hello_world/main.cpp +++ b/exercises/00_hello_world/main.cpp @@ -1,11 +1,11 @@ #include "../exercise.h" - +#include // READ: std streams // READ: 流修饰符 // READ: format in cxx20 int main(int argc, char **argv) { // TODO: 在控制台输出 "Hello, InfiniTensor!" 并换行 - std::cout : "Hello, InfiniTensor!" + std::endl; + std::cout <<"Hello, InfiniTensor!" >> std::endl; return 0; }