学习
实践
活动
专区
工具
TVP
写文章

【有奖互动】新年将至,如何过一个技术范的新年?

  • 回答 (127)
  • 关注 (11)
  • 查看 (5122)

农历新年将至,祝福的话汇成千言万语都寄托在贺卡之中,也许今年你受到了很多的挫折,又或者是顺顺利利度过了一年。但不管怎么样,不管是哭与笑,人生的年轮都已经转过了一圈。我们唯有继续向前走,不要回头,未来的自己取决于现在的自己。

有时候一句不经意的问候,一句小小的祝福都能让自己身心雀跃,获得短暂的拯救。因此,在即将到来的农历新年之际,腾讯云开发者社区推出了送祝福的活动,以代码作为载体,以祝福作为载物,送给自己或者送给重要的人,亦或是那憧憬的远方。

下面来看看具体的活动描述和参与规则吧:

【有奖互动】 以代码送出新春祝福

参与方式:在本活动页面下回答区进行留言即视为参与活动,留言要求为:以代码的方式写下新春祝福语。

参考范例:

(社区三周年祝福代码)

活动规则:

  • 留言TOP150获得社区定制红包封面一份。
  • 若留言点赞TOP10则可额外获得社区定制新年礼盒一份。

奖品设置:腾讯腾讯云开发者社区定制新年红包封面+腾讯腾讯云开发者社区定制新年礼盒

社区定制红包封面:

社区定制新年礼盒:

参与资格:所有社区用户

活动时间:即日起 - 2021.2.9,幸运用户名单需要一定时间整理,会尽快公布 。

兑奖方式:待到活动截止日时,会对留言区点赞数据进行统计,新年红包封面将以短信的形式送出,腾讯腾讯云开发者社区定制新年礼盒将于新年假期结束后统一发货。

注意:禁止作弊,如有发现,回收获奖资格,不予发放奖品,同时作弊者将被腾讯云开发者社区永久拉黑。

腾讯云开发者社区腾讯云开发者社区

腾讯云 · 产品运营 (已认证)

提问于
用户7090646邀请了看看来回答
气象学家气象学家记录气象文献阅读、编程和气象相关资讯。感谢关注!欢迎加入气象AI和Python交流群!回答于
;*************************************************
; Happy_new_year_2021.ncl
;************************************************
;
; Concepts illustrated:
;   - Print 
;
; These files are loaded by default in NCL V6.2.0 and newer
; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
;************************************************
begin
;************************************************
print("Happy New Year!")
print("I wish you all Good luck in the Year of the Ox!")
print("Wishing the Tencent Cloud Community the best of luck in 2021!")
print("------------ from Meteorologist")
;************************************************
end
;************************************************
小彭同学一直在光明大路上的小白回答于

int life;

life=bright+adolesce+clear;

printf("Best wishes to you");

梦想充满光芒

野蛮生长

永不彷徨

祝大家牛年牛气冲天!

Python编程爱好者公众号「Python编程爱好者」,有更多有价值的内容哦!回答于

C++ ->

cout<<"祝大家新春快乐, 社区3周年快乐!!!";

C->

printf("祝大家新春快乐, 社区3周年快乐!!!");

Foxpro ->

?【祝大家新春快乐, 社区3周年快乐!!!】

html ->

<br/>☆祝大家新春快乐, 社区3周年快乐!!!☆<br/>

iapp ->

tw("祝大家新春快乐, 社区3周年快乐!!!")

java ->

System.out.println("祝大家新春快乐, 社区3周年快乐!!!");

JScript ->

alert("祝大家新春快乐, 社区3周年快乐!!!")

Jscript ->

document.write("祝大家新春快乐, 社区3周年快乐!!!")

AS ->

Alert.show("祝大家新春快乐, 社区3周年快乐!!!");

Asp ->

Response.Write"祝大家新春快乐, 社区3周年快乐!!!"

C#:System.Console.WriteLine("祝大家新春快乐, 社区3周年快乐!!!!")

perl ->

print'祝大家新春快乐, 社区3周年快乐!!!'

COBOL ->

DISPLAY'祝大家新春快乐, 社区3周年快乐!!!

Delphi ->

ShowMessage('祝大家新春快乐, 社区3周年快乐!!!');

DOS批处理 ->

echo祝大家新春快乐, 社区3周年快乐!!!

PHP ->

echo"祝大家新春快乐, 社区3周年快乐!!!";

powerBuilder ->

messagebox("祝大家新春快乐, 社区3周年快乐!!!")

Python ->

print("祝大家新春快乐, 社区3周年快乐!!!")

QBasic ->

Print"祝大家新春快乐, 社区3周年快乐!!!"

shell ->

echo祝大家新春快乐, 社区3周年快乐!!!

VB ->

Print"祝大家新春快乐, 社区3周年快乐!!!"

VBScript ->

MsgBox"祝大家新春快乐, 社区3周年快乐!!!"

VC ->

MessageBox("祝大家新春快乐, 社区3周年快乐!!!");

易语言 ->

调试输出(“祝大家新春快乐, 社区3周年快乐!!!”)

小道安全公众号【小道安全】以安全开发,逆向,破解,协议分析,灰黑产攻防为基础,兼论研发相关的技术。回答于
.text:004130DC                 mov     esi, esp
.text:004130DE                 push    offset a2021HappyNewYe ; "2021 happy new years"
.text:004130E3                 lea     ecx, [ebp+newYear]
.text:004130E6                 call    AfxMessageBox 
.text:00413093                 xor     eax, ebp
.text:00413095                 push    eax
.text:00413096                 lea     eax, [ebp+var_C]
.text:00413099                 mov     large fs:0, eax
.text:0041309F                 mov     [ebp+this], ecx
.text:004130A2                 mov     esi, esp
.text:004130A4                 push    offset aHttpsCloudTenc ; "https://cloud.tencent.com/"
.text:004130A9                 lea     ecx, [ebp+url]
.text:004130B4                 call    AfxMessageBox
.text:004130B9                 mov     [ebp+var_4], 0
.text:004130C0                 push    0               ; unsigned int
.text:004130C2                 push    0               ; unsigned int
.text:004130C4                 mov     esi, esp
.text:004130C6                 lea     ecx, [ebp+url]
.text:004130CF                 cmp     esi, esp
.text:004130D1                 call    j___RTC_CheckEsp
.text:004130D6                 push    eax             ; char *
.text:004130D7                 call    j_?AfxMessageBox@@YGHPBDII@Z_0 ; AfxMessageBox(char const *,uint,uint)
.text:004130DC                 mov     esi, esp
.text:004130DE                 push    offset a2021HappyNewYe ; "2021 happy new years"
.text:004130E3                 lea     ecx, [ebp+newYear]
.text:004130E6                 call    AfxMessageBox 

来自底层的X86汇编语言进行祝福“云+社区” 2021 happy new years。

阿策小和尚回答于

HarmonyOS:

import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;
import ohos.agp.components.Button;
import ohos.agp.components.Component;
import ohos.agp.components.DirectionalLayout;
import ohos.hiviewdfx.HiLog;
import ohos.hiviewdfx.HiLogLabel;

public class MainAbilitySlice extends AbilitySlice {

    private static final HiLogLabel LABEL = new HiLogLabel(HiLog.LOG_APP, 0x00201, "云+社区");

    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);

        DirectionalLayout directionalLayout = new DirectionalLayout(getContext());
        Button button = new Button(getContext());
        button.setText("新年快乐,牛年大吉!");
        button.setTextSize(200);

        if (button != null) {
            button.setClickedListener(new Component.ClickedListener() {
                @Override
                public void onClick(Component component) {
                    HiLog.info(LABEL, "云+社区,祝所有人新年快乐,2021 我们一起加油!!");
                }
            });
        }

        directionalLayout.addComponent(button);
        super.setUIContent(directionalLayout);
    }
}

祝大家 2021 新年快乐,牛年大吉,加油!

狐狸的小窝

南京智慧交通股份有限公司 · 全栈开发工程师 (已认证)

决定我们成为什么样人的,不是我们的能力,而是我们的选择回答于

package main

import "fmt"

func main() {

fmt.Println("Tencent Cloud Happy new year!")

}

熊出陌回答于
image.png

[M][B][fts=6][ffg,#fff100,#ffffff]新[/ft][/ft][/B][/M][M][B][fts=6][ffg,#ed008c,#ffffff]年[/ft][/ft][/B][/M][M][B][fts=6][ffg,#37b400,#ffffff]快[/ft][/ft][/B][/M][M][B][fts=6][ffg,#00bff3,#ffffff]樂[/ft][/ft][/B][/M][M][B][fts=6][ffg,#7bcdc,#ffffff] ![/ft][/ft][/B][/M][M][B][fts=3][ftf=宋体][ffg,#d3f1fd,#ffffff]‘云加社区3周年ˊ[/ft][/ft][/ft][/B][/M][M][B][/B][/M]

[M][fts=2][ftc=#fff100][ffg,#00BFF3,#FFFFFF]欢迎光临[/ft][/ft][fts=2][ffg,#ED008C,#FFFFFF]古老的qq空间站[ffg,#FFF467,#ffffff][url=http://www.qq.com[/url][/ft][/ft][ftc=#ffffff][/M]

用户6945961回答于

C++ : cout<<"祝大家新年快乐";

Lua:print("祝大家新年快乐!")

Objective-c:NSLog(@"祝大家新年快乐");

U:print("CLOUD+ 新年快乐!");

Delphi: ShowMessage('祝大家新年快乐!');

PHP : echo "+";

用最好的语言来云加社区过新年!

幻影龙王

腾云先锋 · 腾云先锋(TDP)成员 (已认证)

沉迷于在代码海洋里回答于

public class MyFirstJavaProgram {

public static void main(String []args) {

System.out.println("新年快乐,牛年大吉!");

}

}

青年码农

晨讯科技 · web前端开发高级工程师 (已认证)

关注公众号【青年码农】,回复“源码”可获取软件,源码等资料回答于
新年快乐
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            grid-template: 3em/3em;
            place-content: center;
            overflow: hidden;
            margin: 0;
            height: 100vh;
            background: #262626;
            font: 20vmin/1 lalezar, sans-serif;
            filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
        }

        body,
        body *,
        body ::before,
        body ::after {
            display: grid;
            grid-area: 1/1;
        }

        .scene {
            overflow: hidden;
            clip-path: inset(0 round 5px);
            filter: contrast(0.85);
        }

        .scene::before {
            background: linear-gradient(90deg, #314065, #146a7c, #f0ab3d, #c271b4, #c20d90);
            content: "";
        }

        .rotor {
            place-self: center;
            width: 150%;
            height: 150%;
            grid-template-rows: 1fr 1fr;
            mix-blend-mode: multiply;
            animation: rotz 4s ease-in infinite;
        }

        @keyframes rotz {

            41%,
            50% {
                transform: rotate(0.5turn);
            }

            91%,
            100% {
                transform: rotate(1turn);
            }
        }

        .year {
            --i: 1;
            --not-i: calc(1 - var(--i));
            --not-k: calc(1 - var(--k));
            overflow: hidden;
            transform-origin: 50% 100%;
            transform: rotate(calc(var(--k)*.5turn));
            background: hsla(0, 0%, calc(var(--k)*100%), var(--i));
            color: hsla(0, 0%, calc(var(--not-k)*100%), var(--i));
            text-shadow: 0 0 calc(var(--not-i)*19px) hsl(0, 0%, calc(var(--not-k)*100%));
            text-decoration: none;
        }

        [aria-hidden=true] {
            --i: 0;
        }

        del {
            --k: 0;
            mix-blend-mode: screen;
        }

        ins {
            --k: 1;
            mix-blend-mode: multiply;
        }

        time {
            place-self: end center;
            display: flex;
            align-items: baseline;
            padding: 0 0.25em;
            height: 1.5em;
            background: inherit;
            animation: move 4s ease-in infinite, blob calc(var(--i)*2s) ease-out infinite alternate;
            animation-delay: calc(var(--k)*-2s);
        }

        time::before,
        time::after {
            display: grid;
            align-items: end;
            height: 100%;
            content: "";
        }

        @keyframes move {

            41%,
            50% {
                transform: translatey(calc(1ch + 19px));
            }

            0%,
            91%,
            100% {
                transform: translatey(1px);
            }
        }

        @keyframes blob {

            82%,
            100% {
                filter: blur(13px) contrast(39);
            }
        }
    </style>
</head>

<body>
    <section class="scene">
        <div class="rotor">
            <del class="year" aria-hidden="true">
                <time datetime="2020">新年</time>
            </del><ins class="year" aria-hidden="true">
                <time datetime="2021">快乐</time></ins>
            <del class="year">
                <time datetime="2020">新年</time>
            </del><ins class="year">
                <time datetime="2021">快乐</time></ins>
        </div>
    </section>
</body>

</html>
三掌柜

佰钧成技术有限责任公司 · 架构师 (已认证)

一名合格的、二把刀的、科班的程序猿回答于

#import <Foundation/Foundation.h>int main(){ NSLog(@"新年快乐!"); return 0;}

FunTesterHave Fun ~ Tester !回答于
大鹅

商汤 · 算法 (已认证)

兴趣使然的博主回答于

不知道能不能显示iframe 可以点击这里查看效果

<iframe height="400" style="width: 100%;" scrolling="no" src="https://codepen.io/chs97/embed/GRNovwv?height=400&amp;theme-id=light&amp;default-tab=result&amp;2" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"></iframe>

$primairyFontColor: #efefef;

html{
  
  background: -moz-linear-gradient(top, #241d33 0%, #171930 51%, #091119 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #241d33), color-stop(51%, #171930), color-stop(100%, #091119)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #241d33 0%, #171930 51%, #091119 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #241d33 0%, #171930 51%, #091119 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #241d33 0%, #171930 51%, #091119 100%); /* IE10+ */
  background: linear-gradient(to bottom, #241d33 0%, #171930 51%, #091119 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#241d33', endColorstr='#091119', GradientType=0); /* IE6-9 */
  
   
  height: 100%;
  overflow:hidden;
}

body{
  height:100%;
}


#new-year {
  
  position: relative;
  top: 50%;
  width: 90%;
  height: 90%;
  margin: 0 auto 0 auto;
  transform: translateY(-50%);

  
  svg{
    width: 100%;
    height:100%;
  }

}

.stroke-fill {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke: $primairyFontColor;
}

#happy-stroke {
  animation: happy-dash 1.7s linear normal forwards;
}
$newYearDelay: 1.8s;
#n-stroke {
  animation: dash 2s $newYearDelay linear normal forwards;
}
#ew-stroke {
  animation: dash 2s (.7s+$newYearDelay) linear normal forwards;
}
#y-stroke{
  animation: dash 2s (1.5s+$newYearDelay) linear normal forwards;
}
#ye-stroke{
  animation: dash 1s (2.2s+$newYearDelay) linear normal forwards;
}
#ear-stroke{
  animation: dash 2s (2.38s+$newYearDelay) linear normal forwards;
}
#underline-stroke{
  animation: dash .5s (3.7s+$newYearDelay) cubic-bezier(0.550, 0.085, 0.680, 0.530) normal forwards;
}
@keyframes dash {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

// Tweaked the exact timings of when the stroke enters the masked areas.
@keyframes happy-dash {
  //H
  0% { stroke-dashoffset: 1000; }
  6% { stroke-dashoffset: 976; }
  6.01% { stroke-dashoffset: 958; }
  13% { stroke-dashoffset: 936; }
  13.01% { stroke-dashoffset: 905; }
  20% { stroke-dashoffset: 896; }
  //A
  20.01% { stroke-dashoffset: 864; }
  27% { stroke-dashoffset: 840; }
  27.01% { stroke-dashoffset: 830; }
  34% { stroke-dashoffset: 808; }
  34.01% { stroke-dashoffset: 775; }
  40% { stroke-dashoffset: 764; }
  //P
  40.01% { stroke-dashoffset: 738; }
  60% { stroke-dashoffset: 688; }
  //P
  60.01% { stroke-dashoffset: 658; }
  80% { stroke-dashoffset: 610; }
  //Y
  80.01% { stroke-dashoffset: 580; }
  90% { stroke-dashoffset: 555; }
  90.01% { stroke-dashoffset: 543; }
  99.99% { stroke-dashoffset: 525; }
  100% { stroke-dashoffset: 0; }
}
<body>
<div id="new-year"><svg id="new-year-svg" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 200"  >
	<defs>
		<path id="happy-path" d="M190.479,20.124h6.193v7.014h6.768v-7.014h6.221v20.043h-6.221V32.06h-6.768v8.107h-6.193V20.124zM231.698,36.858h-7.031l-0.977,3.309h-6.324l7.533-20.043h6.756l7.531,20.043h-6.485L231.698,36.858zM230.413,32.524l-2.212-7.205l-2.189,7.205H230.413zM246.728,20.124h10.295c2.242,0,3.921,0.533,5.038,1.6c1.116,1.066,1.675,2.584,1.675,4.553c0,2.023-0.608,3.605-1.825,4.744c-1.217,1.14-3.074,1.709-5.571,1.709h-3.391v7.438h-6.221V20.124zM252.948,28.669h1.518c1.194,0,2.032-0.207,2.516-0.622c0.483-0.415,0.725-0.945,0.725-1.593c0-0.629-0.21-1.162-0.629-1.6c-0.419-0.438-1.208-0.656-2.365-0.656h-1.764V28.669zM272.548,20.124h10.295c2.242,0,3.921,0.533,5.038,1.6c1.116,1.066,1.675,2.584,1.675,4.553c0,2.023-0.608,3.605-1.825,4.744c-1.217,1.14-3.074,1.709-5.571,1.709h-3.391v7.438h-6.221V20.124zM278.769,28.669h1.518c1.194,0,2.032-0.207,2.516-0.622c0.483-0.415,0.725-0.945,0.725-1.593c0-0.629-0.21-1.162-0.629-1.6c-0.419-0.438-1.208-0.656-2.365-0.656h-1.764V28.669zM296.373,20.124h6.879l4.038,6.762l4.046-6.762h6.843l-7.793,11.648v8.395h-6.207v-8.395L296.373,20.124z"/>
		<path id="ear-path" d="M406.717,124.56c-1.023,1.445-2.131,3.061-4.259,2.772c-2.259-0.306-2.811-2.237-3.431-4.025c-0.09-0.259-0.105-0.545-0.15-0.819c-1.198-7.405-0.307-14.724,1.18-21.96c0.799-3.895,2.174-7.672,3.292-11.508c-3.756-1.819-5.97-1.39-8.683,2.002c-1.294,1.616-2.771,1.333-4.323,0.876c-1.474-0.433-2.901-0.685-3.395-2.762c-0.613-2.582-1.802-5.054-2.979-7.458c-0.29-0.592-1.583-1.118-2.265-0.972c-0.666,0.143-1.388,1.093-1.657,1.842c-0.966,2.682,0.569,6.094,3.312,8.143c0.597,0.446,1.206,1.379,1.187,2.07c-0.252,8.868-1.593,17.586-4.166,26.074c-0.714,2.359-1.863,4.654-3.183,6.745c-1.709,2.709-3.949,2.404-5.259-0.554c-0.473-1.068-0.806-2.224-1.03-3.372c-1.571-8.042-0.969-16.072,0.276-24.081c0.541-3.475,1.262-6.922,2.03-11.08c-2.842,0.461-5.271,0.856-8.04,1.305c-2.777-2.893-5.969-3.495-10.297-1.569c-3.491,1.554-5.731,4.333-7.347,7.667c-3.203,6.611-4.091,13.695-3.843,20.916c0.114,3.297-0.852,6.144-2.391,8.896c-1.642,2.934-4.114,4.489-7.558,4.103c-3.216-0.362-5.17-2.456-6.106-5.293c-0.84-2.544-1.691-7.769-1.691-10.524l0.084-2.648c0.247-5.555,1.097-10.806,3.217-15.757c0.632-1.479,1.789-3.119,3.12-4.198l-2.099-2.424c-5.873,2.566-8.426,7.539-10.233,12.924c-0.868,2.546-2.155,7.69-2.04,10.239l0.069,2.272c-0.083,3.547,0.183,6.039,1.506,10.314c1.837,5.941,6.042,9.225,11.444,9.458c5.932,0.258,9.823-2.789,12.34-7.917c0.259-0.528,0.543-1.044,0.944-1.81c0.315,1.01,0.517,1.725,0.759,2.425c0.908,2.628,2.006,5.249,5.117,5.746c3.177,0.507,5.182-1.707,6.457-4.084c2.088-3.894,3.695-8.044,5.508-12.085c0.164-0.368,0.358-0.723,0.74-1.487c0.055,1.197,0.045,1.896,0.125,2.585c0.502,4.368,1.067,8.74,3.901,12.351c2.864,3.646,7.474,3.907,10.706,0.594c0.956-0.98,1.946-2.116,2.394-3.369c1.42-3.972,2.914-7.966,3.791-12.077c1.398-6.56,2.325-13.221,3.421-19.648c2.08,0.713,4.336,1.487,6.505,2.23c-0.692,4.938-1.538,10.006-2.083,15.107c-0.541,5.071-0.499,10.156,1.406,15.017c1.645,4.198,5.27,5.917,9.611,4.661c4.363-1.262,7.274-3.958,8.469-15.164l-0.934,0.089C409.422,119.302,409.147,121.126,406.717,124.56zM360.222,112.837c-0.603,2.653-1.947,5.189-3.273,7.602c-0.5,0.912-1.993,1.929-2.876,1.802c-0.886-0.128-2.027-1.518-2.26-2.538c-0.585-2.551-0.721-5.207-1.161-8.857c0.768-3.898,1.515-8.763,2.736-13.507c0.877-3.414,2.829-6.417,6.002-8.203c1.146-0.644,2.727-0.679,4.103-0.657c0.426,0.007,1.276,1.201,1.183,1.714C363.292,97.761,361.926,105.338,360.222,112.837zM419.532,115.219c0-12.133,0.254-46.425,0.254-52.913c0-0.084,0.59-0.084,0.674-0.084c0.926,0,8.088,6.909,8.088,7.583c0,3.117-4.717,38.252-4.717,46.762c-0.676,0.337-1.602,0.59-2.359,0.59C420.376,117.157,419.532,116.651,419.532,115.219zM426.19,127.857c0,2.696-1.686,5.392-4.889,5.392c-3.874,0-5.392-2.274-5.392-4.802c0-2.949,2.107-6.066,5.308-6.066C424.505,122.381,426.19,125.161,426.19,127.857z"/>
		<path id="y-path" d="M284.696,170.172c2.44-0.078,5.23-0.183,7.442-1.135c5.449-2.347,8.231-7.203,9.789-12.566c1.444-4.97,2.521-10.111,3.114-15.251c0.979-8.493-0.432-26.082-0.432-26.082l-0.169-2.341c-0.758-7.796-2.058-16.429-3.284-24.289c-0.423,1.21-0.863,2.415-1.265,3.631c-3.14,9.52-6.693,18.855-12.234,27.295c-2.69,4.095-5.7,7.95-9.874,10.625c-1.839,1.18-3.917,2.179-6.024,2.716c-6.749,1.715-11.068-1.434-11.976-8.368c-0.948-7.247,0.464-14.272,1.939-21.281c2.25-10.681,4.739-21.332,4.853-32.316c0.03-2.888-0.238-5.858-0.924-8.654c-0.959-3.902-3.937-5.207-7.319-3.044c-2.317,1.482-4.464,3.613-5.961,5.924c-4.692,7.242-6.827,15.456-7.992,23.912c-0.405,2.947-0.479,5.969-0.369,8.944c0.051,1.351,0.957,2.659,1.401,4.012c0.203,0.618,0.225,1.296,0.329,1.946c-0.743-0.149-1.937-0.068-2.153-0.488c-0.971-1.891-2.089-3.862-2.39-5.916c-1.99-13.571,1.077-25.854,10.161-36.31c3.738-4.303,8.579-6.77,14.435-6.909c4.879-0.116,7.738,1.895,9.072,6.569c1.468,5.149,1.241,10.41,0.129,15.511c-2.142,9.832-4.768,19.556-7.025,29.364c-1.231,5.35-2.259,10.765-1.54,16.321c0.682,5.263,3.711,7.056,8.691,5.091c3.983-1.571,6.778-4.603,9.171-7.966c7.643-10.748,11.921-22.843,13.908-35.793c0.686-4.465,1.089-8.973,1.705-13.45c0.179-1.293,0.417-2.677,1.049-3.779c0.518-0.906,1.659-1.457,2.523-2.165c0.622,0.915,1.563,1.754,1.8,2.759c0.459,1.949,0.477,3.998,0.758,5.993c0.914,6.464,1.869,12.923,2.798,19.386c0.808,5.636,1.886,13.371,2.661,18.825l0.207,2.318c0.615,8.838,0.812,17.805-0.532,26.59c-1.421,9.283-3.696,18.275-9.8,25.778c-3.688,4.534-8.481,7.071-14.315,7.646c-0.942,0.093-1.849,0.114-2.717,0.068L284.696,170.172z"/>
		<path id="ye-path" d="M287.053,173.223c-9.205,0.907-15.088-5.002-14.533-14.351c0.552-9.3,4.909-16.955,10.026-24.326c5.606-8.077,11.912-15.37,20.146-20.848c0.546-0.364,1.748-0.901,1.748-0.901s2.031-0.758,3.403-1.14s3.649-0.766,3.649-0.766c2.687-0.505,4.427-0.816,6.499-0.763c4.118,0.106,8.034-0.783,8.034-0.783c7.391-1.539,12.221-11.504,10.252-18.448c-0.608-2.147-2.502-2.798-4.165-1.3l-2.166-2.49c0.937-0.433,1.947-0.767,2.958-0.963c6.018-1.17,9.421,1.746,9.254,7.875c-0.208,7.669-5.826,14.722-14.064,17.2c-1.001,0.392-2.153,0.775-2.153,0.775c-4.613,0.772-7.881,0.407-7.881,0.407c-1.97-0.115-3.266,0.084-4.157,0.253c-0.709,0.135-2.204,0.556-2.204,0.556s-2.451,0.32-3.512,0.604s-3.578,1.325-3.578,1.325s-0.708,0.441-0.97,0.644c-11.366,8.146-21.111,21.347-25.327,36.335c-1.351,4.803-1.338,9.774,1.059,14.431c1.16,2.254,2.768,3.705,5.324,3.624c0.765-0.024,1.564-0.052,2.369-0.106L287.053,173.223z"/>
		<path id="new-path" d="M145.333,130.093c0.669,2.194-0.211,3.95-1.429,5.516c-3.465,4.457-11.309,4.125-15.224-0.635c-3.273-3.979-3.988-8.816-4.199-13.712c-0.447-10.312,1.673-20.296,3.873-30.303c1.231-5.598,1.676-11.375,2.343-17.087c0.148-1.274-0.152-2.636-0.428-3.917c-1.012-4.687-4.817-6.663-9.331-4.913c-2.915,1.131-4.947,3.303-6.685,5.779c-4.012,5.715-6.208,12.231-8.139,18.843c-3.253,11.134-4.772,22.556-5.505,34.101c-0.136,2.152-0.415,4.3-0.468,6.453c-0.103,4.162-5.818,6.183-9.137,3.985c-0.551-0.364-0.867-1.559-0.792-2.321c0.845-8.646,1.977-17.269,2.658-25.927c0.945-12.016,1.403-24.073-1.532-35.909c-0.788-3.178-2.365-6.202-3.887-9.138c-0.665-1.283-1.972-2.357-3.213-3.19c-2.7-1.813-5.657-1.07-7.579,1.757c-2.339,3.439-2.859,7.406-2.666,11.378c0.476,9.799,2.659,19.115,8.699,27.164c0.155,0.207,0.229,0.475,0.402,0.844c-2.155,0.325-3.7-0.697-4.813-2.066c-8-9.839-11.293-20.962-8.326-33.478c0.997-4.201,3.208-7.913,7.676-9.486c4.889-1.722,11.163,0.542,14.563,5.145c4.531,6.134,6.871,13.156,7.948,20.583c0.682,4.7,0.846,9.475,1.194,13.636c1.454-4.187,2.812-9.073,4.846-13.662c1.842-4.158,4.242-8.107,6.732-11.931c2.05-3.147,5.208-5.168,8.666-6.63c6.354-2.69,12.348-0.475,15.411,5.715c2.277,4.603,2.706,9.555,1.757,14.462c-1.688,8.719-3.779,17.36-5.687,26.038c-1.406,6.396-2.662,12.821-1.919,19.416c0.199,1.771,0.643,3.56,1.283,5.224c1.017,2.644,3.055,4.06,5.959,4.058c2.801-0.001,4.479-1.552,5.544-3.993C144.222,131.212,144.674,130.602,145.333,130.093zM218.268,93.114c0.221,9.172-0.831,18.205-4.015,26.864c-1.557,4.236-3.804,8.085-8.193,10.064c-3.464,1.562-6.769,0.682-9.06-2.367c-2.789-3.712-3.467-8.114-4.003-12.552c-0.05-0.412-0.057-0.828-0.086-1.289c-1.413,3.097-2.551,6.28-4.258,9.121c-1.403,2.334-3.207,4.604-5.319,6.299c-3.747,3.004-7.154,1.754-8.665-2.827c-0.491-1.488-0.791-3.04-1.319-5.117c-0.462,1.092-0.728,1.756-1.021,2.407c-2.573,5.714-6.95,8.714-12.421,8.488c-6.041-0.25-9.706-3.834-11.43-9.146c-3.557-10.956-2.047-21.448,4.294-31.065c2.631-3.991,6.582-6.093,11.507-6.027c3.812,0.052,6.251,2.324,6.557,6.129c0.594,7.397-3.562,14.252-10.799,17.743c-1.246,0.601-2.522,1.223-3.854,1.541c-1.283,0.306-1.803,0.854-1.564,2.142c0.541,2.924,0.828,5.922,1.658,8.76c0.863,2.952,2.844,5.126,6.14,5.523c3.537,0.425,6.062-1.205,7.675-4.246c1.736-3.273,2.968-6.685,2.848-10.51c-0.182-5.858,0.027-11.695,2.088-17.29c1.752-4.761,5.438-7.205,9.731-6.569c-4.994,9.188-4.968,18.924-3.889,28.782c0.191,1.748,0.483,3.965,2.583,4.341c2.26,0.405,3.138-1.76,3.997-3.366c2.494-4.664,3.501-9.777,4.224-14.958c0.442-3.167,0.762-6.358,1.345-9.499c0.857-4.618,4.592-6.715,8.764-5.54c-0.498,2.643-1.228,5.211-1.427,7.819c-0.623,8.137-0.706,16.271,1.36,24.267c0.225,0.87,0.526,1.733,0.901,2.549c1.543,3.353,4.549,3.971,6.573,0.905c1.864-2.824,3.475-6.14,4.033-9.435c1.319-7.784,1.244-15.673-0.642-23.42c-0.437-1.796-1.257-3.518-2.051-5.202c-0.524-1.111-1.316-2.339-0.086-3.157c1.037-0.688,2.727-1.32,3.706-0.928c1.225,0.491,2.5,1.909,2.895,3.191C217.793,87.964,218.207,90.57,218.268,93.114zM154.734,109.411c6.24-1.846,10.514-7.919,10.646-14.894c0.04-2.104,0.404-4.534-2.131-5.54c-1.646-0.653-3.641,0.973-4.991,3.916C155.885,98.067,155.039,103.583,154.734,109.411z"/>
		<path id="underline" fill="#EFEFEF" d="M8,190c115.125-0.125,259.625-1,328.833-2.667c1-0.024,121.583,3.083,152.167,3.229c0.684,0.003,0.707,0.747,0,0.75c-27.167,0.104-151.667,3.017-153,2.938C298,192,9.636,191.068,8.833,190.667"/>
	</defs>

	<clipPath id="happy-clip"><use xlink:href="#happy-path"  overflow="visible"/></clipPath>
	<clipPath id="ear-clip"><use xlink:href="#ear-path"  overflow="visible"/></clipPath>
	<clipPath id="new-ye-clip"><use xlink:href="#new-ye-path"  overflow="visible"/></clipPath>
	<clipPath id="y-clip"><use xlink:href="#y-path"  overflow="visible"/></clipPath>
	<clipPath id="ye-clip"><use xlink:href="#ye-path"  overflow="visible"/></clipPath>
	<clipPath id="new-clip"><use xlink:href="#new-path"  overflow="visible"/></clipPath>
	<clipPath id="underline-clip"><use xlink:href="#underline"  overflow="visible"/></clipPath>

    <polyline id="happy-stroke" class="stroke-fill"  clip-path="url(#happy-clip)" fill="none" stroke="#4F2525" stroke-width="6" stroke-linejoin="round" stroke-miterlimit="10" points="193.458,17.771 193.479,41.896 206.625,45.542 206.667,18.667 186.917,26.5 195,29.667 204.917,29.625 212.562,48.75 219.344,43.438 228.229,14.438 237.188,43.958 223.375,42.25 216.188,34.625 239.208,34.583 243.875,44.292 249.938,44.062 249.833,20.312	249.833,21.979 258.396,22.417 261.333,25.604 260.042,29.417 255.896,30.562 251.125,30.875 259.833,38.292 270.542,44.542	275.667,42.833 275.708,20.312 275.583,22.167 283.833,22.25 287.042,24.604 286.25,29.083 281.812,30.75 277.688,30.708 296.188,14.438 307.247,33.146 307.375,41.5 304.25,35.75 316.229,17.958 	"/>

    <path id="underline-stroke" class="stroke-fill" clip-path="url(#underline-clip)"fill-rule="evenodd" clip-rule="evenodd" fill="none" stroke="#601B1B" stroke-width="12" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M494,191.5c0,0-134.006-0.858-164-1s-327.5,0-327.5,0"/>
    <path  id="n-stroke" class="stroke-fill"clip-path="url(#new-clip)" fill="none" stroke="#4F2525" stroke-width="10" stroke-linejoin="round" stroke-miterlimit="10" d="M82.5,100c-11.333-11.833-18.621-46.594,0.917-44.583c20.25,2.083,11.167,80,11.167,80s8.583-75.667,31.917-73.333c21.756,2.176-6.892,58.902,2,69.417c11.417,13.5,17.917-1.75,17.917-1.75"/>
    <path id="ew-stroke" class="stroke-fill" clip-path="url(#new-clip)" fill="none" stroke="#4F2525" stroke-width="9" stroke-linejoin="round" stroke-miterlimit="10" d="M155.042,111.083c5.625,0.042,19.125-14.708,11.833-22c-3.387-3.387-16.441,5.794-16.188,22.979c0.25,16.938,11.438,21.812,15.062,17c2.025-2.688,12.312-40.062,14.688-39.688c1.736,0.274-7.229,36.493-0.625,37.625c6.562,1.125,15.489-38.206,15.688-38.312c8.872-4.745-3.562,22.438,3.375,35.375c1.632,3.043,2.985,5.177,7.5,4.125c15.562-3.625,6.312-48.25,6.312-48.25"/>
    <path id="y-stroke" class="stroke-fill" clip-path="url(#y-clip)"  fill="none" stroke="#4F2525" stroke-width="10" stroke-linejoin="round" stroke-miterlimit="10" d="M245.667,105.833c-5.75-14.5-0.334-55.263,21.5-48.25C280.917,62,254.028,129.803,267,130.25c24.167,0.833,40-62.625,36-62.25s22,105.75-19.625,104"/>
    <path id="ye-stroke" class="stroke-fill" clip-path="url(#ye-clip)"  fill="none" stroke="#4F2525" stroke-width="9" stroke-linejoin="round" stroke-miterlimit="10" d="M286.125,172.125c-4.875,0.125-9.375-2-11.5-14.25s18.5-35.75,24-40.625s16.503-5.341,26.25-6.375c8.25-0.875,16.25-11,15.5-16.375c-1.471-10.542-8.125-8.875-12.375-6.125"/>
    <path id="ear-stroke" class="stroke-fill" clip-path="url(#ear-clip)"  fill="none" stroke="#4F2525" stroke-width="9" stroke-linejoin="round" stroke-miterlimit="10" d="M333.5,87.125c-11.25,4.625-13.25,26.375-10.188,34.812c2.441,6.726,5.553,7.938,8.625,7.938c4.188,0,7.059-6.344,8.188-9c4.438-10.438,4.572-15.379,7.875-24c6.25-16.312,12.625-9.312,12.625-9.312s-8.263,9.086-9.688,16.25c-2.125,10.688-5.125,26.438,2.062,22.125c3.727-2.236,4.544-11.855,7.312-19.625c3.805-10.68,8.938-19.875,8.938-19.875s-4.625,30.812-1.438,37.562s6.846,5.672,8.438,4.5c9.25-6.812,8.562-39.625,3.438-44.062s13.178,10.246,18,5.812c3.875-3.562-0.931,5.241-1.438,11.875c-0.785,10.278-2.375,23.625,2.562,26.312c2.147,1.169,10.688-8.938,12.438-9.604c2.574-0.98,8.726,13.833,10.917,13.833c0.833,0,0.25-7.25,0.25-7.25s11.25-4.167,11.25-4.167l3.75-60.167L424,63.156l0.25,6.094l-0.156,2.594L424,74.25l-2,44"/>
</svg>
</div>
  
</body>
happyJared保持勤學習的心,做好寫代碼這事回答于

人生苦短,我用python祝大家:

print("祝大家新春快乐, 牛年大吉,身体旺旺!")

IT小马哥

北京天谱同盛教育科技有限公司 · JAVA高级研发经理 (已认证)

想做个有钱人,却误入程序世界的一个小码农。回答于
public class NewYear{
    public static void main(String[] args) {
        int 鼠 = 29275;
        int 实 = 36716;
        int 不 = 20094;
        int 疫 = 22372;
        Arrays.asList('鼠','实','不','疫',',',(char)鼠,(char)实,(char)不,(char)疫).forEach( System.out::print);
    }

}
鼠实不疫,牛转乾坤
888888888回答于
text = ""
add_times = 1000
for x in range(add_times):
	text = text + "新年快乐"
print(text)
Jerry Wang

SAP成都研究院 · 开发专家 (已认证)

SAP成都研究院开发专家,SAP社区导师,SAP中国技术大使。回答于

CSS 实现的 2021新年快乐效果。祝各位腾讯云社区的朋友:牛年大吉!

不需要任何前端框架即可实现

html源代码:

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Happy 2021!</title>

<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/style.css">

</head>
<body>

<div class="header"></div>
<div class="container">
  <div class="circles bottom-left"></div>
  <div class="circles top-right"></div>
  <div class="star top-right">
    <div class="top"></div>
    <div class="right"></div>
    <div class="bottom"></div>
    <div class="left"></div>
  </div>
  <div class="star bottom-left">
    <div class="top"></div>
    <div class="right"></div>
    <div class="bottom"></div>
    <div class="left"></div>
  </div>
  <div class="star bottom-center">
    <div class="top"></div>
    <div class="right"></div>
    <div class="bottom"></div>
    <div class="left"></div>
  </div>
  <div class="snowflake-grid to-left">
    <div class="snowflake-item border-bottom border-right">
      <div class="sub-items border-right border-bottom pull-down">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
    <div class="snowflake-item border-bottom border-left">
      <div class="sub-items border-right border-bottom r-90 pull-down-right">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
    <div class="snowflake-item border-top border-right">
      <div class="sub-items border-right border-bottom r-270 pull-right">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
    <div class="snowflake-item border-top border-left">
      <div class="sub-items border-right border-bottom r-180 pull-left">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
  </div>
  <div class="snowflake-grid to-right">
    <div class="snowflake-item border-bottom border-right">
      <div class="sub-items border-right border-bottom pull-down">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
    <div class="snowflake-item border-bottom border-left">
      <div class="sub-items border-right border-bottom r-90 pull-down-right">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
    <div class="snowflake-item border-top border-right">
      <div class="sub-items border-right border-bottom r-270 pull-right">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
    <div class="snowflake-item border-top border-left">
      <div class="sub-items border-right border-bottom r-180 pull-left">
        <div class="m-w-15 m-h-15 border-right border-bottom m-3"></div>
      </div>
    </div>
  </div>
  <div class="current-year">
    <div class="year"><span>2</span><span>0</span><span>2</span><span>0</span><span>1</span></div>
  </div>
</div>
<div class="footer"></div>

</body>
</html>

css源代码的链接在我的github上。

忆想不到的晖世界在变化,我怎能不进化回答于
"""
Author: hui
Desc: { 腾讯云社区,新年祝福 }
"""

class NewYear:

    def __init__(self, blessing):
        self.title = "<<2021新年祝福>>"
        self.blessing = blessing

    def wish(self):
        ret = self.title + "\n" + self.blessing
        print(ret)

def main():
    blessing = "春节到,笑声到,快快乐乐问候到,新的一年祝云社区越做越好,祝大家一年四季行好运。"
    NewYear(blessing).wish()


if __name__ == "__main__":
    main()

out: <<2021新年祝福>>
out: 春节到,笑声到,快快乐乐问候到,新的一年祝云社区越做越好,祝大家一年四季行好运。
OECOM文章首发于https://www.oecom.cn回答于
ruochen

若尘科技有限公司 · 开发 (已认证)

一个默默无闻的技术分享者回答于
公众号iOS逆向

全城淘信息技术有限公司 · iOS高级开发工程师 (已认证)

【公众号:iOS逆向】熟悉Object-C、Swift、lua、iOS&macOS逆向与安全、java、js开发(擅长支付解决方案)回答于
po @“祝大家新春快乐, 社区3周年快乐!!!”
//lldb 调试器-> 
System.Console.WriteLine("祝大家新春快乐, 社区3周年快乐!!!!")
//C#:
​
           NSLog(@"http error:%@",@"祝大家新春快乐, 社区3周年快乐!!!");
//objective-C -> 
​
​
cout<<"祝大家新春快乐, 社区3周年快乐!!!";
//C++ -> 
​
​
​
printf("祝大家新春快乐, 社区3周年快乐!!!");
​
//C-> 
print("祝大家新春快乐, 社区3周年快乐!!!")
​
//Python ->
Print"祝大家新春快乐, 社区3周年快乐!!!"
//QBasic/VB -> 
​
print'祝大家新春快乐, 社区3周年快乐!!!'
​
//perl ->
System.out.println("祝大家新春快乐, 社区3周年快乐!!!");
​
//java -> 
alert("祝大家新春快乐, 社区3周年快乐!!!")
document.write("祝大家新春快乐, 社区3周年快乐!!!")
​
//JScript -> 
​
<br/>☆祝大家新春快乐, 社区3周年快乐!!!☆<br/>
//html -> 
​
tw("祝大家新春快乐, 社区3周年快乐!!!")
​
//iapp -> 
Alert.show("祝大家新春快乐, 社区3周年快乐!!!");
​
//AS -> 
Response.Write"祝大家新春快乐, 社区3周年快乐!!!"
​
//Asp -> 
DISPLAY'祝大家新春快乐, 社区3周年快乐!!!
//COBOL -> 
​
ShowMessage('祝大家新春快乐, 社区3周年快乐!!!');
​
//Delphi -> 
​
​
messagebox("祝大家新春快乐, 社区3周年快乐!!!")
//powerBuilder -> 
​
MessageBox("祝大家新春快乐, 社区3周年快乐!!!");
​
//VC -> 
MsgBox"祝大家新春快乐, 社区3周年快乐!!!"
//VBScript -> 
​
echo 祝大家新春快乐, 社区3周年快乐!!!
#DOS批处理 /shell-> 
​
​
​
echo"祝大家新春快乐, 社区3周年快乐!!!";
//PHP -> 
​
?【祝大家新春快乐, 社区3周年快乐!!!】
//Foxpro -> 
​
俗可耐

腾讯 · 运营开发工程师 (已认证)

越减越肥的减肥努力者回答于
<?php

echo "回顾2020年,你满意吗?开心吗?(Y/N)";

$answer = trim(strtolower(fgets(STDIN)));

switch ($answer) {
    case 'y':
    case 'yes':
        printf("很棒呦,开心快乐会继续陪伴你整个2021年的!^_^\n");
        break;
    case 'n':
    case 'no':
        printf("要注意调节自己哦,无论更加努力或是降低对自己的期待,都要开心快乐!Happy 2021!\n");
        break;
    default:
        printf("是还没想好吗,哈哈,无论如何,首先保持好心情,把快乐放在第一位哦,开心快乐2021!\n");
}
张曙光

南京尚哲智能科技 · unity开发工程师 (已认证)

一位脱离了高级趣味的人.回答于
using UnityEngine;
using System.Collections;
public class TestCode : MonoBehaviou
{
    string[] Greeting = new string[3] { "HAPPY", " NEW", " YEAR" };
    int length;
    int index = 0;
    private void Start()
    {
        length = Greeting.Length;
        StartCoroutine("Happy_NewYear");

    }

    private IEnumerator Happy_NewYear()
    {
        while (length > 0)
        {
            yield return new WaitForSeconds(1);
            Debug.Log(Greeting[index]);
            index++;
            length--;
        }
    }
}
用户1483438回答于

public class HappyNewYear{

public static void main(String[]args){

System.out.println("********************************************");

System.out.println("祝云+社区新年快乐、牛年大吉、牛转乾坤,牛年行大运!!!");

System.out.println("********************************************");

}

}

程序员鱼皮鹅厂全栈,公众号【程序员鱼皮】领 6T 编程资料和学习经验,一起进步!回答于
print(
        /@O@@OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO@@O@@\`     
      /@OOOOOOOOOO@@@@@OO@OOOOOOOOOOOOOOOOOOOOOO@OOOOOOOOOOO@@OOOOOOOOOOOO@@\    
    /@O@OOOOOOOOO@@O[`../@OOOOOOOOOOOOOOOOOOOOOOO@@[[.  ....\@O@OOOOOOOOOO@@OOO  
  /@O@@OOOOOOOOO@^,,..,@@@@OOOOOO@@/\@O@@OOOOOO@/. ...........\@O@@O@OOOOOOO@@@@\
/@OOOOOOOOOOOO@@^ ....=@OOOOOOOOOO@@`..\@O`.....................\@@@OOOOOOOOOOO@O
O@@OOOOOOOOOOOO@^......=@O@@@@@OO@@@...`=^......................O@O@OOOOOOOOOOO@@
OOOOOOOOO@@@@O@OO. ..... .... .,\/`,``...O................ ,]OO@OOOOOOOOOOOOOOOOO
OOOOOOOO^ ,[\\]..[....=`,.,... ...,`.....O@@`........./@@@@O@@OOOOOOOOOOOOOOOOOOO
OOOOOOOO\ ......`....,[......`....  ...=@@@@O^... ./@@@O[[\@@@@OOOOOOOOOOOOOOOOOO
OOOOOOOO@` ..... ......../..`........,@/[[[\@`....@O`........OO@OOOOOOOOOOOOOOOOO
OOOOOOOOOO\....=..\...................O[`.[\`....=^...........@OOOOOOOOOOOOOOOOOO
OOOOOOOO@OO@@O]],].`.......][. ..  ...,.........,`.=@@........@@OOOOOOOOOOOOOOOOO
OOOOOOOOOO@@@@@@^`.^. .. ./.,@@@\.....= ........^.=@O..... ..@O@OOOOOOOOOOOOOOOOO
OOOOOOOO@OOOOOO@\`.. .`..^....=@@^ ...^....... =.,@O.......=@O@OOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOO@^. ..... .]...,[/[..../O@@@^ .. / /O......,/@O@@OOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOO@O...........,.........\@@@/....,^.@......=@O@@OOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOO@O.,\O\`.. ..............@O.,...,.=@........,.\@@@OOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOO@OO`.,[. ..`. ........ .@@`,^...^.=@`............@OOOOOOOOOOOOOOOOO
OOO@@@OOOOOOO@OOOOO@@@/..............,@^ /. .,^ OO@@O^.........=OOOOOOOOO@OOOOOOO
OOO@OOO@OOOOO@OO@@@O[...............,@O.=^...=^.@@@/.........,@@OOOOOOO@OOOOOOOOO
OOOOO[\@@@@O@O@@@`..................@/@=@^...O^.@@`.......,/[[[..,[[O@@@@@OOOOOOO
OOO@......[[[[.....................=^.`/O.. .@^=`.......................,@@@@O@OO
OOOO..............................=/...@O.. \`.............................[@O@OO
OOOO\ ...........................=^,^.@@^...,`......... .. ..................,@O@
OOOO@O.............................`.@@@^.. =^....... .,O@@@O@O@O@O`...........@@
OOO@@O@\`.........................../OO@`...=.............,@OO@O@@O@`..........=@
OOOOOOOO@O@O]]]....................=@@@O..........,@@^.....=O@OOOO@O^..........=@
OOOOOOOOOO@@@@`...........].... ../@O@OO ..................=@OO@@OO@^...........@
OOOOOOOO@@@@[.......... ,@/ .....@OO@@@`.................. . .OOO@@@.......... O@
OOOOOOOOO@@` ..........=@` . ....=O`......................... .,@@O^...........@O
OOOOOOOO@/ .......... . .`......./............\OO`..............@@^.........../OO
OOOOOOOO@...............,`.......,\`................... .. ....//`.......... ,@OO
OOOOOOOO@. ..............=^......=O@^... ........`.]/@@O@OO@@O`.............=@@OO
O@OOOOOOO\.............,O@.......@@@@@O^...... .`..[[[[OO/[` ..............\/@OOO
@O@OOOOOO@^........../@@@@` ....,@OOOOO^........ ,.....  ..................=@@@O@
 \@OOOOOOO@O`.....,@@@@OOO@.....=OOOOOO^...... \@........................,@OOOO@@
   \@@@OOOOOO@@@@OOOOOOO@O@\.. .=@OOOOO^.......=@@].................. .,@@@@O@@/ 
     \@@OOOOO@OO@OOOOOOOO@@O@@@@@OOOOOOO......./@@@@\`... ..... .]`.,/@@@O@OO/   
       \@@O@OOOOOOOOOOO@OOOOOO@OOOOOOO@O^......@OOO@@@O@@@@@@O@@@@@@@@OO@@@/`    
         \@OO@OOOOOOOOOOOOOOOOOOOOOOOOOO@O`..,/OOOOOOOOOOOOOOOOOOOOOO@@O@/       
           \@@OOOOOOOOOOOOOOOOOOOOOOOOOO@@O@@@O@OOOOOOOOOOOOOOOOOOOO@@O/         

)
Arnold回答于
using System;

namespace HapplyNewYear
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Happy New Year!");
            Console.WriteLine("Good luck, good health, good cheer. I wish you a happy 2021!");
        }
    }
}
单片机点灯小能手回答于

使用腾讯官方物联网开发板,运行腾讯TencentOS tiny,驱动板载0.48寸OLED,显示Happy New Year和云加社区LOGO,BSP工程位于,BMP取模方式:128*32, 阴码, 列行, 逆向

//BMP字库文件
unsigned char PICTURE[512] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF0,0x78,
0x38,0x1C,0x1C,0x1C,0x0E,0x0E,0x0E,0x0E,0x1C,0x1C,0x1C,0x38,0x78,0xF0,0xE0,0xC0,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0x40,0x40,0x40,0x40,0xF8,0x00,
0x40,0x20,0x20,0x20,0xC0,0x00,0x00,0xE0,0x20,0x20,0x20,0xC0,0x00,0x00,0xE0,0x20,
0x20,0x20,0xC0,0x00,0x60,0x80,0x00,0xC0,0x20,0x00,0x00,0x00,0x00,0x00,0xF8,0x10,
0x60,0x80,0x00,0xF8,0x00,0xC0,0xA0,0xA0,0xA0,0xC0,0x00,0x60,0xC0,0x00,0xC0,0xE0,
0x00,0xC0,0x60,0x00,0x00,0x00,0x08,0x18,0x60,0x80,0x60,0x18,0x08,0xC0,0xA0,0xA0,
0xA0,0xC0,0x00,0x40,0x20,0x20,0x20,0xC0,0x00,0x00,0xE0,0x20,0x20,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xE0,0xE0,0x78,0x7F,0x7F,0xE7,0xE1,0xC0,0xC0,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xC0,0xE1,0xE3,
0x61,0x61,0x60,0xE0,0xE0,0xE0,0xC0,0x80,0x00,0x07,0x00,0x00,0x00,0x00,0x07,0x00,
0x07,0x05,0x05,0x05,0x07,0x04,0x00,0x1F,0x04,0x04,0x04,0x03,0x00,0x00,0x1F,0x04,
0x04,0x04,0x03,0x00,0x00,0x13,0x0E,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,
0x00,0x01,0x02,0x07,0x00,0x03,0x04,0x04,0x04,0x02,0x00,0x00,0x03,0x06,0x01,0x03,
0x04,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x03,0x04,0x04,
0x04,0x02,0x00,0x07,0x05,0x05,0x05,0x07,0x04,0x00,0x07,0x00,0x00,0x00,0x00,0x00,
0x00,0xF8,0xFE,0xFF,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,
0x07,0x0F,0x87,0x82,0xE0,0xE0,0xF0,0x78,0x3C,0x1E,0x0F,0x07,0x03,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0xFF,0xFE,0xF8,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x24,0x24,0x24,0x24,0xD8,0x30,0xC0,0x00,
0xE0,0x10,0x00,0x00,0x00,0x00,0xC0,0xB0,0x88,0xFC,0x80,0x00,0xF0,0x2C,0x24,0x24,
0xC8,0x00,0xD8,0x24,0x24,0x24,0xD8,0x00,0xC0,0xB0,0x88,0xFC,0x80,0x00,0xF0,0x2C,
0x24,0x24,0xC8,0x00,0xD8,0x24,0x24,0x24,0xD8,0x00,0xF0,0x2C,0x24,0x24,0xC8,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x07,0x1F,0x3E,0x3C,0x78,0x70,0x70,0x60,0xE0,0xE0,0xE0,0xF0,0xF8,0xFC,
0xFE,0xFF,0xE7,0xE3,0xE3,0xE1,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,
0xE0,0xE0,0x60,0x70,0x70,0x78,0x3C,0x3E,0x1F,0x07,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x02,0x02,0x02,0x02,0x01,0x00,0x09,0x07,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x01,0x02,0x02,0x02,
0x01,0x00,0x01,0x02,0x02,0x02,0x01,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x01,0x02,
0x02,0x02,0x01,0x00,0x01,0x02,0x02,0x02,0x01,0x00,0x01,0x02,0x02,0x02,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};

//显示函数
void happy_new_year(void)
{
    OLED_DrawBMP(0, 0, 128, 4, ICON_1);
}

千羽回答于
public class NewYear {
    public static void main(String[] args) {
        int 新 = 29275;
        int 年 = 24180;
        int 快 = 22823;
        int 乐 = 21513;
        System.out.print("新春快乐  ");
        System.out.print((char)新);
        System.out.print((char)年);
        System.out.print((char)快);
        System.out.print((char)乐);
        // 输出:新春快乐  牛年大吉
    }
}
Mintimate

腾云先锋 · 腾云先锋(TDP)成员 (已认证)

Mintimate's Blog的作者嗷回答于
import enety.newYear;
public class firstCodeInYear {
    public static void main(String[] args) {
        newYear yearIn2021 =new newYear();
        while (yearIn2021.getStatus()==null||!yearIn2021.getStatus().equals("Happy")){
            yearIn2021.setStatus("Happy");
        }
        if (yearIn2021.getStatus().equals("Happy")){
            System.out.println("祝:'大家新年快乐,云+ 社区3周年快乐!'");
        }
    }
}

嘿嘿,就想简简单单说声:新年快乐~

CaesarChang张旭

阿里巴巴 · 后端开发工程师 (已认证)

阿里巴巴开发工程师,CSDN认证博客专家,拥有多年项目经验和教学经验;回答于
public class Main {
	
	public static void main(String[] args) {
	
	System.out.println("日出东海落西山,愁也一天,喜也一天;");
	System.out.println("遇事不钻牛角尖,人也舒坦,心也舒坦;");
	System.out.println("愿你快乐一整年,不是神仙,胜似神仙;");
	
	}

}  


--------------------------------------------------------------------------------------------
祝云+社区越来越好,云+家人们日进斗金,点赞了股票高涨几率翻倍哟!


扫码关注腾讯云开发者

领取腾讯云代金券