题解列表
3130: 烦人的幻灯片(slides)
摘要:```cpp
#include
using namespace std;
int x[30],y[30],p[30][5],q[30][3];
int main()
{
int m……
2794:Hello, World!
摘要:解题思路: 直接输出Hello, World!即可。参考代码:#include<iostream>using namespace std;int main(){ cout<<"Hello, W……
1130一行解(Python)
摘要:解题思路:用内置函数解决问题,站在巨人的肩膀上不用再造轮子了注意事项:filter()用于筛选符合条件的对象元素,在Python中若为判断条件为True,则添加入filter类型中,用list类型打印……
2847: 找第一个只出现一次的字符
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <string.h>
int main()
{
char a[100000] = {0};
int ……
2963: Tomorrow never knows?
摘要:输入的时候‘-’可以用getchar直接屏蔽掉
```cpp
#include
#include
using namespace std;
bool IsLeapYear(int year)……
3022: 流感传染(易理解)C语言
摘要:注意事项:见下代码参考代码:#include<stdio.h>
int f(char a[100][100],int i,int j)//看每个'.'附近有没有'@'……
1866: 三位数反转(Python)
摘要:解题思路:注意事项:参考代码:while True:
try:
n = input()
m = n[::-1]