博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
The Little Match Girl
阅读量:2037 次
发布时间:2019-04-28

本文共 730 字,大约阅读时间需要 2 分钟。

题解:

其实全部打乱重新排就行了

/**@Author:   STZG*@Language: C++*/#include 
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
//#define DEBUG#define RI register intusing namespace std;typedef long long ll;//typedef __int128 lll;const int N=1000000+100;const int MOD=1e9+7;const double PI = acos(-1.0);const double EXP = 1E-8;const int INF = 0x3f3f3f3f;int t,n,m,k,q;char str[N];int main(){#ifdef DEBUG freopen("input.in", "r", stdin); //freopen("output.out", "w", stdout);#endif scanf("%d",&t); while(t--){ scanf("%d",&n); scanf("%s",str); int a[10]={6,2,5,5,4,5,6,3,7,6}; int sum=0; for(int i=0;i

 

转载地址:http://zfzof.baihongyu.com/

你可能感兴趣的文章
OpenCV Windows7 VC6.0安装以及HelloWorld
查看>>
python升级导致yum命令无法使用的解决办法
查看>>
vi/vim 中如何在每行行首或行尾插入指定字符串
查看>>
linux 查看端口被哪个程序占用
查看>>
socket
查看>>
Spring下载地址
查看>>
Linux日志2
查看>>
VS的路径变量[转]
查看>>
MFC消息处理[转]
查看>>
cookie被禁止后怎样使用session的解决方案
查看>>
Eclipse 部分快捷键失效解决
查看>>
Bootstrap 自定义弹框
查看>>
MyBatis 分页插件 PageHelper 使用方法
查看>>
AbstractQueuedSynchronizer 源码分析
查看>>
分布式以客户为中心的一致性
查看>>
java 注解
查看>>
CAS:乐观锁实现
查看>>
压力测试工具Apache ab
查看>>
Linux - Shell
查看>>
怎样成为优秀的软件模型设计者?
查看>>