题解列表
A+B for Input-Output Practice (III)C语言
摘要:#include<stdio.h>
int main() {
int a, b;
while (scanf("%d%d", &a, &b)!=EOF) {
if (a == 0……
不高兴的津津(C++实现,两种方法:vector容器和结构体数组)
摘要:解题思路:方法一:用两个vector容器,第一个存放对应日期的上课时间,再将第一个的上课时间大于8的元素存放到第二个vector容器中,对第二个容器进行升序排序操作,最后遍历第二个容器将容器出现的第一……
A+B for Input-Output Practice (V)
摘要:#include<stdio.h>
int main() {
int a;
scanf("%d",&a);
int sum = 0,c;
int b[a][100];
f……
A+B for Input-Output Practice (VI)
摘要:#include<stdio.h>
int main(){
int a;
int b;
int sum = 0;
while(scanf("%d",&a)!=EOF){
……
C语言考试练习题_一元二次方程(C语言)
摘要://解一元二次方程ax^2+bx+c=0的解。
#include<stdio.h>
#include<math.h>
int main(){
double a,b,c;
s……
C语言训练-求矩阵的两对角线上的元素之和
摘要:解题思路:#include<bits/stdc++.h>using namespace std;int main(){ int i,j,s=0; int n; int a[10][10]; cin>>……