74 solutions

  • -8
    @ 2024-12-8 16:22:02
    #include<bits/stdc++.h>
    using namespace std;
    void show()
    {
    	cout<<"Hello World";
    }	
    int main()
    {
    	show();
    	return 0;
    }
    • -8
      @ 2024-12-7 10:19:51

      //1. #include<bits/stdc++.h> using namespace std; int main() { int n,s,d,q=0; cin>>n; for (int i=1;i<=n;i++) { cin>>s>>d; if (s>d) { q+=3; } else if(s==d) { q++; } } cout<<q; return 0; }

      //2. #include<bits/stdc++.h> using namespace std; int main() { int t,a=0,s; cin>>s; for (int i=1;i<=0;i++) { t=sqrt(i); if(t*t!=i) continue; int g=i%10,q=i/10%10,b=i/100%10; if(gq||qb||gb) { a++; if (as) { cout<<i; return 0; } } } return 0; }

      //3. #include<bits/stdc++.h> using namespace std; int main() { int n,x,s=110; cin>>n; for (int i=1;i<=n,i++) { cin>>x; if (x>s) { cout<<"y"<<endl; } else { cout<<"N"<<endl; } if (s>x) { s=x; } } return 0; }

      //4. #include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; for (int i=n-1;i>=1;i--) { bool st=1; for (int j=2;j<=i/j;j++) { if (i%j==0) { st=0; } } if (st) { cout<<i; return 0; } } return 0; }

      //6. #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for (int i=1;i<=n;i++) { for (int j=1;j<i;j++) cout<<" "; for (int j=1;j<=n;j++) cout<<"*"; cout<<endl; } return 0; }

      • -8
        @ 2024-11-30 10:30:03

        筷子

        • -8
          @ 2024-11-27 20:08:50
          #include<bits/stdc++.h>
          using namespace std;
          int main()
          {
          	srand((int)time(0)); //产生随机种子 
          	while(1) //死循环 
          	{
          		cout<<char(rand()%50+60)<<" "; //产生一个60到109的ascii 
          	}
          	return 0;
          }
          
          
          • -8
            @ 2024-11-26 20:58:55

            南村群童欺我老无力,一肘击飞二里地!!!

            • -8
              @ 2024-11-26 20:57:25
              不计前程多风雨,
              要怀壮志破云烟。
              装腔作势非真我,
              逼仄之境难久延。
              越山跨海寻真理,
              装点人生绘新篇。
              越古超今展豪情,
              逼人风采映乾坤。
              • @ 2024-11-27 20:24:06

                藏头诗天才!!!

              • @ 2024-11-29 20:59:15

                @ 加一

            • -8
              @ 2024-11-23 9:48:51

              优美的c语言


              • -8
                @ 2024-11-6 20:14:57

              • -8
                @ 2024-11-6 18:31:07

                • -8
                  @ 2024-11-6 18:30:43

                  • -8
                    @ 2024-11-2 16:02:53

                    • -8
                      @ 2024-10-17 18:23:09

                      • @ 2024-10-19 21:27:57

                        帅气的“大鼻孔”!

                        (“大鼻孔”是季总说的。)

                    • -8
                      @ 2024-7-10 9:44:25

                      image

                      • -9
                        @ 2024-12-21 9:07:41

                        实体编号 1 生命体等级 Variation 分类 Humans/Faculty 栖息地 "地球🌍"Classroom 描述: —————————————————————————————————————————————————— 季总是隶属于组织"粒子乐酷少儿编程"的高级员工,主要工作是针对9-15岁并报名了C++课程的部分学员进行授课。

                        行为: —————————————————————————————————————————————————— 授课:季总会精心准备每一堂课程,确保内容既涵盖了C++编程的核心概念,又能够贴近学生的兴趣和实际需求。在课堂上,他注重与学生的互动,鼓励学生提问和讨论,以加深他们对知识点的理解。 答疑解惑:对于学生在学习中遇到的问题和困惑,季总总是耐心解答,确保每个学生都能跟上学习进度。他善于用简单易懂的语言解释复杂的概念,帮助学生克服学习障碍。 个性化指导:季总深知每个学生的学习风格和能力存在差异,因此他会根据每个学生的实际情况,提供个性化的学习建议和指导。通过定期的一对一辅导或小组讨论,他帮助学生发现并发挥自己的优势,同时针对薄弱环节进行加强训练。 课程开发与优化:除了日常的教学工作外,季总还积极参与课程内容的开发和优化工作。他根据教学反馈和市场需求,不断调整和完善课程内容,确保学生能够学到最实用、最前沿的编程知识。 对非正式成员的交流:对于未报名但对编程感兴趣的学生或家长,季总也乐于与他们进行交流。他会分享编程的乐趣和重要性,解答他们的疑问,并鼓励他们加入学习行列。同时,他也会听取他们的意见和建议,以便更好地改进教学工作。

                        行为准则: 应当 ·诚实 ·铀碍 ·与同学核邪相处

                        不应 ·妻富铜穴 ·杀谎

                        • @ 2024-12-21 10:18:45

                          不许抄袭!!!

                      • -9
                        @ 2024-11-26 20:40:28
                        没有向前只停留,
                        有梦在心勇追求。
                        实践锻炼真功夫,
                        力争上游展风流。
                        • -9
                          @ 2024-7-11 10:27:11
                          #include<bits/stdc++.h>
                          using namespace std;
                          const int N=110;
                          int f[N],v[N][N],w[N][N],s[N]; 
                          int main()
                          {
                          	int n,V;
                          	cin>>n>>V;
                          	for(int i=1;i<=n;i++)
                          	{
                          		cin>>s[i];
                          		for(int j=1;j<=s[i];j++)
                          		{
                          			cin>>v[i][j]>>w[i][j];
                          		}
                          	}
                          	for(int i=1;i<=n;i++)
                          	{
                          		for(int j=V;j>=0;j--)
                          		{
                          			for(int k=1;k<=s[i];k++)
                          			{
                          				if(j>=v[i][k])
                          				{
                          					f[j]=max(f[j],f[j-v[i][k]]+w[i][k]);
                          				}
                          			}
                          		}
                          	}
                          	cout<<f[V];
                          	return 0;
                          }
                          
                          
                          • -10
                            @ 2024-10-27 15:02:12
                            #include<bits/stdc++.h> 
                            using namespace std;
                            int main()
                            {
                            	cout<<"Hello,World!";
                            	return 0;
                            }
                            

                            这是题解好吧,乐色

                            • -10
                              @ 2024-9-16 10:31:32
                              • -10
                                @ 2024-9-16 10:30:27
                                • -10
                                  @ 2024-7-13 11:35:35

                                  image

                                  Information

                                  ID
                                  838
                                  Time
                                  1000ms
                                  Memory
                                  256MiB
                                  Difficulty
                                  2
                                  Tags
                                  # Submissions
                                  371
                                  Accepted
                                  104
                                  Uploaded By