-
-
3
-
3
-
2
-
1自己Java写了个小网站,然后Mysql建立数据库,结果怎么都连不上(php环境),各位老哥救救我把
-
0找一个c++前端开发qt 经验丰富看懂别人的代码维护更新
-
0
-
5Execute the code in test.c (by hand). Write the resulting output in a file called "answer.txt". Check your work, and submit as usual.这个是作业要求,然后下面是test.c的内容#include <stdio.h> #include <stdlib.h> void printDigits(FILE *fp, int x) { if (x == 0) { fprintf(fp, "0"); } else if (x < 0) { fprintf(fp, "-"); printDigits(fp, -x); } else { int a = x/10; int b = x %10; if (a != 0) { printDigits(fp, a); } fprintf(fp, "%d", b); } } int main(void) { FILE *fp = fopen("answer.txt", "w"); if (fp == NULL) {
-
4我现在大一,学的是谭老的C程序设计,但是上课是感觉这本书只叫我怎么做一些题目,其他感觉看不懂,在B站搜发现好多人喷这本书,就想着问问各位大佬有没有推荐的书或者是视频能学一下
-
1我在比赛上写的是vector<int[lbk]1000001[rbk]>shu(2),在Devcpp511上还有蓝桥官方的刷题网站上都可以运行,但是问了AI后才知道这是不合规范的,正确定义方式应该是vector<vector<int>> shu(2, vector<int>(n)); 我的答案会报错吗?还是说只要在Devcpp上能运行就没事?
-
6
-
1感觉能做算法的数学思维一点超级强
-
13
-
2
-
1
-
0
-
1
-
8
-
2还有一年半毕业,这一年半打算自学
-
8最近感觉很多地方用批处理能省下很多事,请问有什么适合入门的教程吗?
-
2
-
1
-
7
-
0有没有老哥有cpp学习的typora文档啊,有偿
-
1今晚截止交作业还有7小时两道数据结构作业 实在做不出
-
0
-
4
-
6
-
2
-
1救救我! 救救我! 无法打开源文件stdio.h
-
9
-
1
-
3
-
6
-
0要交作业了但环境还没搭建好,电脑现在不在身边,回去就配置错误的截图!😭😭😭😭
-
8
-
5
-
1
-
4怎么我的输出和答案的输出对不上,明明数都算对了:( #include<stdio.h> void f(int p,int e,int i,int d,int c) { int j,t; p=p%23; e=e%28; i=i%33; if (i==0) i=33; for (j=i;j<=21252;j+=33) { if (j%28==e && j%23==p) { if(j>=d) { printf("Case %d: the next triple peak occurs in %d days.",c,j-d); break; } } } return ; } int main() { int p,e,i,d,c=1; while(1) { scanf("%d%d%d%d",&p,&e,&i,&d); if (p==e&&e==i&&i==d&&d==-1) { break; } f(p,e,i,d,c); printf("\n"); c++; } return 0; }
-
3
-
3
-
2
-
6
-
1