已有源代码练习

【状态:  公开  已结束
开始时间: 2025-09-14 14:00:00
  
结束时间: 2025-09-20 13:59:00
  
服务器时间:

简介

比赛名称: 已有源代码练习

比赛类型: 公开(所有人可参加)

比赛状态: 已结束

比赛时间: 开始于 2025-09-14 14:00:00,至 2025-09-20 13:59:00结束。

公告

C:

``c

#include<stdio.h>

int main()

{

printf("**************************\n");

printf("dotcpp.com\n");

printf("**************************\n");

return 0;

}

c``

C++:

``cpp

#include<iostream>

#include<stdio.h>

using namespace std;

int main()

{

    int a,b;

    while(cin>>a>>b)printf("%d\n",a+b);

    return 0;

}

cpp``

python:

``py

while True:

try:

a,b=map(int,input().strip().split())

print(a+b)

except:

break

py``