offer快朝我砸来
offer快朝我砸来
全部文章
分类
归档
标签
去牛客网
登录
/
注册
offer快朝我砸来的博客
全部文章
(共75篇)
题解 | #小乐乐定闹钟#
#include <stdio.h> int main() { int hour = 0, minute = 0, k = 0; scanf("%d:%d %d", &hour, &minute,&k); hour = (hour + (k + minute) / 60) % 24...
2023-04-25
0
202
题解 | #小乐乐求和#
#include <stdio.h> int main() { int n = 0, i = 0; long sum = 0; scanf("%d", &n); for (i = 1; i <= n; i++) { sum += i; } printf("%ld\...
2023-04-24
0
191
题解 | #小乐乐与进制转换#
#include <stdio.h> int main() { int n, m, j, i = 0; int arr[1000] = { 0 }; scanf("%d", &n); do { m = n % 6; n = n / 6; i++; arr[i] ...
2023-04-23
0
140
题解 | #井字棋#
#include <stdio.h> int main() { int i = 0, j = 0; int flag = 0; char arr[3][3] = { 0 }; for (i = 0; i < 3; i++) { for...
2023-04-23
0
204
题解 | #矩阵交换#
#include <stdio.h> int main() { int n = 0, m = 0; int i = 0, j = 0; int arr[20][20] = { 0 }; scanf("%d %d", &n, &m); for (i ...
2023-04-23
0
187
题解 | #杨辉三角#
#include <stdio.h> int main() { int n = 0; int i = 0, j = 0; int arr[100][100] = { 0 }; scanf("%d", &n); for (i = 0; i < ...
2023-04-22
0
194
题解 | #矩阵转置#
#include <stdio.h> int main() { int n = 0, m = 0; int i = 0, j = 0; int arr[100][100] = { 0 }; scanf("%d %d", &n, &m); for (...
2023-04-22
0
168
题解 | #上三角矩阵判定#
#include <stdio.h> int main() { int n = 0, m = 0; int i = 0, j = 0; int sum = 0; int arr[50][50] = { 0 }; scanf("%d", &n); ...
2023-04-22
0
172
题解 | #矩阵相等判定#
#include <stdio.h> int main() { int m = 0, n = 0; int i = 0, j = 0; int sum = 0; int arr1[100][100] = { 0 }; int arr2[100][1...
2023-04-22
0
191
题解 | #最高身高#
#include <stdio.h> int main() { int m = 0, n = 0; int i = 0, j = 0; int x = 0, y = 0; int max = 0; int arr[100][100] = { 0 }...
2023-04-22
0
212
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页