首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
print(123)
阅读全部 | zhuiyi1222 贴于 2025年10月18日 09:46     hide bbsi
print(123)
阅读全部 | zhuiyi1222 贴于 2025年10月18日 09:44     hide bbsi
#include <stdio.h>
#include <math.h>

int main() {
    double a,b,c;
    printf("enter a,b and c:");
    scanf("%lf,%lf,%lf",&a,&b,&c);
    
    if (a==0&&b==0&&c==0){
        printf("方程不存在");
    }
    else if(a==0&&b!=0){
......................
阅读全部 | 金橘棕白 贴于 2025年10月13日 14:52     hide bbsi
大家好!我要向网上公布这个作品
https://shequ.codemao.cn/work/281078655
阅读全部 | wengzixi 贴于 2025年10月7日 09:42     hide bbsi
#include <stdio.h>

int main() {
printf("我在编程中国学C语言\n\n");

// 练习一下循环的使用
int i;
for (i=1; i<=20; i++) {
printf("我爱编程中国 %d 次\n", i);
}

printf("\n\n绘制一个心形图案:");
......................
阅读全部 | 谢飞 贴于 2025年9月30日 16:42     hide bbsi
#include <iostream>
using namespace std;
int main()
{
    string n;
    string a;
    string b;
    cin >> n;
    cin >> a >> b;
    cout << "请输入账户名:" << endl;
    cout << n << endl;
    cout << "请设置密码:" << endl;
......................
阅读全部 | HZH是中国人 贴于 2025年9月8日 07:50     hide bbsi
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
static struct FastInput {
  static constexpr int BUF_SIZE = 1 << 20;
  char buf[BUF_SIZE];
  size_t chars_read = 0;
  size_t buf_pos = 0;
  FILE *in = stdin;
  char cur = 0;
 
  inline char get_char() {
    if (buf_pos >= chars_read) {
......................
阅读全部 | yywx2023 贴于 2025年9月6日 09:45     hide bbsi
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
static struct FastInput {
  static constexpr int BUF_SIZE = 1 << 20;
  char buf[BUF_SIZE];
  size_t chars_read = 0;
  size_t buf_pos = 0;
  FILE *in = stdin;
  char cur = 0;
 
  inline char get_char() {
    if (buf_pos >= chars_read) {
......................
阅读全部 | yywx2023 贴于 2025年9月6日 09:44     hide bbsi
import tkinter as tk
from tkinter import messagebox
import random

class SnakeGame:
    def __init__(self, master):
        self.master = master
        self.master.title("贪吃蛇游戏")
        self.master.geometry("600x500")
        self.master.resizable(False, False)
        
        # 游戏参数设置
......................
阅读全部 | wyu8888 贴于 2025年8月21日 14:56     hide bbsi
DERUNS QWSSDX POSJSS 238281 231123 982312
阅读全部 | wengzixi 贴于 2025年8月15日 10:39     hide bbsi
1 2 3 4 5 6 7 8 9 10 下一页