0_0_6313166_2408\Main.java:1: illegal character: \35
#include<iostream>
^
0_0_6313166_2408\Main.java:2: illegal character: \35
#include<cstdio>
^
0_0_6313166_2408\Main.java:3: illegal character: \35
#include<cstring>
^
0_0_6313166_2408\Main.java:5: class, interface, or enum expected
const int MAXN = 1050;
^
0_0_6313166_2408\Main.java:7: class, interface, or enum expected
char buff[100];
^
0_0_6313166_2408\Main.java:8: class, interface, or enum expected
int cool[MAXN];
^
0_0_6313166_2408\Main.java:9: class, interface, or enum expected
int ones[1<<7];
^
0_0_6313166_2408\Main.java:10: class, interface, or enum expected
bool bad[1<<7];
^
0_0_6313166_2408\Main.java:11: class, interface, or enum expected
int start[MAXN],end[MAXN];
^
0_0_6313166_2408\Main.java:12: class, interface, or enum expected
int dp[MAXN][1<<7];
^
0_0_6313166_2408\Main.java:13: class, interface, or enum expected
int Temp[1<<7][MAXN];
^
0_0_6313166_2408\Main.java:14: class, interface, or enum expected
int Ns[1<<7][MAXN];
^
0_0_6313166_2408\Main.java:15: class, interface, or enum expected
int main()
^
0_0_6313166_2408\Main.java:18: class, interface, or enum expected
for (int i=1;i<(1<<7);i++)
^
0_0_6313166_2408\Main.java:18: class, interface, or enum expected
for (int i=1;i<(1<<7);i++)
^
0_0_6313166_2408\Main.java:18: class, interface, or enum expected
for (int i=1;i<(1<<7);i++)
^
0_0_6313166_2408\Main.java:20: class, interface, or enum expected
int cases;
^
0_0_6313166_2408\Main.java:21: class, interface, or enum expected
scanf("%d",&cases);
^
0_0_6313166_2408\Main.java:22: class, interface, or enum expected
int n;
^
0_0_6313166_2408\Main.java:23: class, interface, or enum expected
for (int tcase=1;tcase<=cases;tcase++)
^
0_0_6313166_2408\Main.java:23: class, interface, or enum expected
for (int tcase=1;tcase<=cases;tcase++)
^
0_0_6313166_2408\Main.java:23: class, interface, or enum expected
for (int tcase=1;tcase<=cases;tcase++)
^
0_0_6313166_2408\Main.java:26: class, interface, or enum expected
memset(cool,0,sizeof(cool));
^
0_0_6313166_2408\Main.java:27: class, interface, or enum expected
memset(start,0,sizeof(start));
^
0_0_6313166_2408\Main.java:28: class, interface, or enum expected
memset(end,0,sizeof(end));
^
0_0_6313166_2408\Main.java:29: class, interface, or enum expected
for (int i=0;i<7;i++)
^
0_0_6313166_2408\Main.java:29: class, interface, or enum expected
for (int i=0;i<7;i++)
^
0_0_6313166_2408\Main.java:29: class, interface, or enum expected
for (int i=0;i<7;i++)
^
0_0_6313166_2408\Main.java:32: class, interface, or enum expected
scanf("%d",&c);
^
0_0_6313166_2408\Main.java:33: class, interface, or enum expected
while (c--)
^
0_0_6313166_2408\Main.java:36: class, interface, or enum expected
int len=strlen(buff);
^
0_0_6313166_2408\Main.java:37: class, interface, or enum expected
bool tp=false;
^
0_0_6313166_2408\Main.java:38: class, interface, or enum expected
for (int j=0;j<len;j++)
^
0_0_6313166_2408\Main.java:38: class, interface, or enum expected
for (int j=0;j<len;j++)
^
0_0_6313166_2408\Main.java:38: class, interface, or enum expected
for (int j=0;j<len;j++)
^
0_0_6313166_2408\Main.java:40: class, interface, or enum expected
if (!tp) {
^
0_0_6313166_2408\Main.java:42: class, interface, or enum expected
sscanf(buff,"%d",&x);
^
0_0_6313166_2408\Main.java:43: class, interface, or enum expected
cool[x]|=(1<<i);
^
0_0_6313166_2408\Main.java:44: class, interface, or enum expected
} else {
^
0_0_6313166_2408\Main.java:46: class, interface, or enum expected
sscanf(buff,"%d-%d",&x,&y);
^
0_0_6313166_2408\Main.java:47: class, interface, or enum expected
cool[x]|=(1<<i);
^
0_0_6313166_2408\Main.java:48: class, interface, or enum expected
start[x]|=(1<<i);
^
0_0_6313166_2408\Main.java:49: class, interface, or enum expected
end[y-1]|=(1<<i);
^
0_0_6313166_2408\Main.java:50: class, interface, or enum expected
}
^
0_0_6313166_2408\Main.java:54: class, interface, or enum expected
int c;
^
0_0_6313166_2408\Main.java:55: class, interface, or enum expected
scanf("%d",&c);
^
0_0_6313166_2408\Main.java:56: class, interface, or enum expected
while (c--)
^
0_0_6313166_2408\Main.java:59: class, interface, or enum expected
int s=0;
^
0_0_6313166_2408\Main.java:60: class, interface, or enum expected
for (int i=6;i>=0;i--)
^
0_0_6313166_2408\Main.java:60: class, interface, or enum expected
for (int i=6;i>=0;i--)
^
0_0_6313166_2408\Main.java:60: class, interface, or enum expected
for (int i=6;i>=0;i--)
^
0_0_6313166_2408\Main.java:62: class, interface, or enum expected
for (int i=0;i<(1<<7);i++)
^
0_0_6313166_2408\Main.java:62: class, interface, or enum expected
for (int i=0;i<(1<<7);i++)
^
0_0_6313166_2408\Main.java:62: class, interface, or enum expected
for (int i=0;i<(1<<7);i++)
^
0_0_6313166_2408\Main.java:65: class, interface, or enum expected
}
^
0_0_6313166_2408\Main.java:69: class, interface, or enum expected
dp[0][0]=0;
^
0_0_6313166_2408\Main.java:70: class, interface, or enum expected
int ans=0;
^
0_0_6313166_2408\Main.java:71: class, interface, or enum expected
for (int now=0;now<(1<<7);now++)
^
0_0_6313166_2408\Main.java:71: class, interface, or enum expected
for (int now=0;now<(1<<7);now++)
^
0_0_6313166_2408\Main.java:71: class, interface, or enum expected
for (int now=0;now<(1<<7);now++)
^
0_0_6313166_2408\Main.java:72: class, interface, or enum expected
for (int i=1;i<=n;i++)
^
0_0_6313166_2408\Main.java:72: class, interface, or enum expected
for (int i=1;i<=n;i++)
^
0_0_6313166_2408\Main.java:75: class, interface, or enum expected
Ns[now][i]=now-(now&end[i])-(now&(cool[i]^start[i]));
^
0_0_6313166_2408\Main.java:76: class, interface, or enum expected
}
^
0_0_6313166_2408\Main.java:77: class, interface, or enum expected
for (int i=1;i<=n;i++)
^
0_0_6313166_2408\Main.java:77: class, interface, or enum expected
for (int i=1;i<=n;i++)
^
0_0_6313166_2408\Main.java:79: class, interface, or enum expected
for (int now=0;now<(1<<7);now++) if (!bad[now]) {
^
0_0_6313166_2408\Main.java:79: class, interface, or enum expected
for (int now=0;now<(1<<7);now++) if (!bad[now]) {
^
0_0_6313166_2408\Main.java:81: class, interface, or enum expected
s=now;
^
0_0_6313166_2408\Main.java:82: class, interface, or enum expected
while (1)
^
0_0_6313166_2408\Main.java:89: class, interface, or enum expected
}
^
0_0_6313166_2408\Main.java:91: class, interface, or enum expected
s=(s-1)&now;
^
0_0_6313166_2408\Main.java:92: class, interface, or enum expected
}
^
0_0_6313166_2408\Main.java:94: class, interface, or enum expected
for (int now=(1<<7)-1;now>=0;now--){
^
0_0_6313166_2408\Main.java:94: class, interface, or enum expected
for (int now=(1<<7)-1;now>=0;now--){
^
0_0_6313166_2408\Main.java:95: class, interface, or enum expected
for (int j=0;j<7;j++)
^
0_0_6313166_2408\Main.java:95: class, interface, or enum expected
for (int j=0;j<7;j++)
^
0_0_6313166_2408\Main.java:98: class, interface, or enum expected
}
^
0_0_6313166_2408\Main.java:101: class, interface, or enum expected
for (int i=1;i<=n;i++)
^
0_0_6313166_2408\Main.java:101: class, interface, or enum expected
for (int i=1;i<=n;i++)
^
0_0_6313166_2408\Main.java:102: class, interface, or enum expected
for (int s=0;s<(1<<7);s++)
^
0_0_6313166_2408\Main.java:102: class, interface, or enum expected
for (int s=0;s<(1<<7);s++)
^
0_0_6313166_2408\Main.java:104: class, interface, or enum expected
printf("Case #%d: %d\n",tcase,ans);
^
0_0_6313166_2408\Main.java:105: class, interface, or enum expected
}
^
0_0_6313166_2408\Main.java:107: class, interface, or enum expected
}
^
85 errors
|