题解列表

筛选

Tom数 (C语言代码)

摘要:#include <stdio.h>int main(){     int s;     long long n;     while(scanf("%lld",&n)!=EOF)     {    ……

去掉空格 (C语言代码)

摘要:解题思路:新手上路 请大家多多指教注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char zf[81]={0}; int n,j,l……

使用STL,12行代码解题 (C++代码)

摘要:解题思路:    使用STL标准模板库。注意事项:    sort的头文件库名要注意。及其使用方式。参考代码:#include<iostream> #include<cstring> #inclu……

指针配合STL轻松解题 (C++代码)

摘要:解题思路:    STL大法好。注意事项:    max_element函数返回的是元素地址。参考代码:#include<iostream> #include<cstdio> #include<a……