0_0_14299560_31171\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_14299560_31171\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_14299560_31171\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_14299560_31171\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_14299560_31171\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14299560_31171\Main.java:7: 错误: 需要class, interface或enum
bool cmp(int a,int b){
^
0_0_14299560_31171\Main.java:9: 错误: 需要class, interface或enum
}
^
0_0_14299560_31171\Main.java:13: 错误: 需要class, interface或enum
scanf("%d",&T);
^
0_0_14299560_31171\Main.java:14: 错误: 需要class, interface或enum
while(T--){
^
0_0_14299560_31171\Main.java:16: 错误: 需要class, interface或enum
int n,a,x[25],flag1 = 0;
^
0_0_14299560_31171\Main.java:17: 错误: 需要class, interface或enum
scanf("%d%d",&n,&a);
^
0_0_14299560_31171\Main.java:18: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++){
^
0_0_14299560_31171\Main.java:18: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++){
^
0_0_14299560_31171\Main.java:18: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++){
^
0_0_14299560_31171\Main.java:20: 错误: 需要class, interface或enum
if(a % x[i] == 0)
^
0_0_14299560_31171\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_14299560_31171\Main.java:25: 错误: 需要class, interface或enum
continue;
^
0_0_14299560_31171\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_14299560_31171\Main.java:28: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++){
^
0_0_14299560_31171\Main.java:28: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++){
^
0_0_14299560_31171\Main.java:28: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++){
^
0_0_14299560_31171\Main.java:30: 错误: 需要class, interface或enum
int sum = 0,flag,xx = 0;
^
0_0_14299560_31171\Main.java:31: 错误: 需要class, interface或enum
while(tmp && i + xx <= n){
^
0_0_14299560_31171\Main.java:33: 错误: 需要class, interface或enum
tmp = tmp % x[i+xx];
^
0_0_14299560_31171\Main.java:34: 错误: 需要class, interface或enum
sum++;
^
0_0_14299560_31171\Main.java:35: 错误: 需要class, interface或enum
for(int j = i + xx; j <= n; j++){
^
0_0_14299560_31171\Main.java:35: 错误: 需要class, interface或enum
for(int j = i + xx; j <= n; j++){
^
0_0_14299560_31171\Main.java:35: 错误: 需要class, interface或enum
for(int j = i + xx; j <= n; j++){
^
0_0_14299560_31171\Main.java:38: 错误: 需要class, interface或enum
sum++;
^
0_0_14299560_31171\Main.java:39: 错误: 需要class, interface或enum
tmp = 0;
^
0_0_14299560_31171\Main.java:40: 错误: 需要class, interface或enum
break;
^
0_0_14299560_31171\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_14299560_31171\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_14299560_31171\Main.java:47: 错误: 需要class, interface或enum
ans = min(ans,sum);
^
0_0_14299560_31171\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_14299560_31171\Main.java:52: 错误: 需要class, interface或enum
else
^
0_0_14299560_31171\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_14299560_31171\Main.java:56: 错误: 需要class, interface或enum
}
^
38 个错误
|