3 条题解

  • 2
    @ 2026-6-2 20:32:00

    注意到他是让咱们输出一段话

    那么咱们拿出来上课的知识(翻书~~~(哗哗)

    找到了 printf/cout/print 大法 输出即可

    Python

    print("ncstacm")
    

    C语言

    #include<stdio.h>
    int main()
    {
      printf("ncstacm");
    }
    

    C++

    #include<iostream>
    int main()
    {
       std::cout<<"ncstacm";
    }
    
    

    Java

    public class Main {
        public static void main(String[] args) {
            System.out.println("ncstacm");
        }
    }
    
    
    • 1
      @ 2026-6-2 20:37:55

      居然没有我最爱的万能头和宏定义和宏定义和宏定义。。。。。

      #include <bits/stdc++.h>
      #define int long long
      #define pb push_back
      #define MOD 1000000007
      using namespace std;
      const int N = 200005;
      void solve() {
          cout<<"ncstacm"<<'\n';
      }
      signed main() {
          ios::sync_with_stdio(0); cin.tie(0);
          int t=1;
          //cin >> t;
          while (t--) solve();
          return 0;
      }
      
      • 1
        @ 2026-6-2 20:36:52

        孩子们,rust才是对的

        要合理减少签到题的运行时间

        fn main(){
            println!("ncstacm");
        }
        
        • 1

        信息

        ID
        1169
        时间
        1000ms
        内存
        256MiB
        难度
        1
        标签
        递交数
        9
        已通过
        4
        上传者