acm 求正解AC!

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 03:13:30
acm求正解AC!acm求正解AC! acm求正解AC!#include#include#include#include#include#include#includeusingnamesp

acm 求正解AC!
acm 求正解AC!
 

acm 求正解AC!
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define inf 1000000007
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
int flag=1;
for(int i=1;i