4 条题解

  • 1
    @ 2024-12-14 17:07:39
    • 1
      @ 2024-11-28 17:29:24
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
      	cout<<"";//这里写hello
      }
      
      • 0
        @ 2025-3-3 17:25:14

        cout<<"hello";

        • -2
          @ 2025-7-6 13:56:58

          首先,题目描述中所说:“输出单词:hello”。 所以需要直接使用C++中的输出函数——— cout(此题也可以用另一个函数printf,不过头文件不可以使用#include,也可以直接使用万能头文件———#include<bits/stdc++.h>)接着在输出时格式为: cout<<"hello"//注意!!!这个是字符串格式!!! 那么代码奉上!

          #include<bits/stdc++.h>
          using namespace std;
          int main(){
            cout<<"hello";
            return 0;
          }
          

          也可以这么写

          #include<bits/stdc++.h>
          using namespace std;
          int main(){
            printf("hello");
            return 0;
          }
          
          • 1

          信息

          ID
          98
          时间
          1000ms
          内存
          256MiB
          难度
          9
          标签
          (无)
          递交数
          190
          已通过
          21
          上传者