0_0_29453778_26585\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29453778_26585\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_29453778_26585\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_29453778_26585\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_29453778_26585\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_29453778_26585\Main.java:5: 错误: 非法字符: '#'
#include <queue>
^
0_0_29453778_26585\Main.java:9: 错误: 需要class, interface或enum
int a[30];
^
0_0_29453778_26585\Main.java:11: 错误: 需要class, interface或enum
char s[1005];
^
0_0_29453778_26585\Main.java:13: 错误: 需要class, interface或enum
int cal(char x){
^
0_0_29453778_26585\Main.java:15: 错误: 需要class, interface或enum
else return x - 'A' + 1;
^
0_0_29453778_26585\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_29453778_26585\Main.java:20: 错误: 需要class, interface或enum
friend bool operator <(node aa, node bb){
^
0_0_29453778_26585\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_29453778_26585\Main.java:25: 错误: 需要class, interface或enum
int main(){
^
0_0_29453778_26585\Main.java:28: 错误: 需要class, interface或enum
int len = strlen(s);
^
0_0_29453778_26585\Main.java:29: 错误: 需要class, interface或enum
memset(a, 0, sizeof(a));
^
0_0_29453778_26585\Main.java:30: 错误: 需要class, interface或enum
for(int i = 0; i < len; i++){
^
0_0_29453778_26585\Main.java:30: 错误: 需要class, interface或enum
for(int i = 0; i < len; i++){
^
0_0_29453778_26585\Main.java:30: 错误: 需要class, interface或enum
for(int i = 0; i < len; i++){
^
0_0_29453778_26585\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_29453778_26585\Main.java:34: 错误: 需要class, interface或enum
for(int i = 0; i < 27; i++){
^
0_0_29453778_26585\Main.java:34: 错误: 需要class, interface或enum
for(int i = 0; i < 27; i++){
^
0_0_29453778_26585\Main.java:34: 错误: 需要class, interface或enum
for(int i = 0; i < 27; i++){
^
0_0_29453778_26585\Main.java:36: 错误: 需要class, interface或enum
b.w = a[i];
^
0_0_29453778_26585\Main.java:37: 错误: 需要class, interface或enum
if(a[i]) q.push(b);
^
0_0_29453778_26585\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_29453778_26585\Main.java:40: 错误: 需要class, interface或enum
if(q.size() == 1) res = len;
^
0_0_29453778_26585\Main.java:41: 错误: 需要class, interface或enum
else{
^
0_0_29453778_26585\Main.java:43: 错误: 需要class, interface或enum
while(q.size() > 1){
^
0_0_29453778_26585\Main.java:44: 错误: 需要class, interface或enum
int aa = q.top().w; q.pop();
^
0_0_29453778_26585\Main.java:45: 错误: 需要class, interface或enum
int bb = q.top().w; q.pop();
^
0_0_29453778_26585\Main.java:45: 错误: 需要class, interface或enum
int bb = q.top().w; q.pop();
^
0_0_29453778_26585\Main.java:46: 错误: 需要class, interface或enum
res += (aa + bb);
^
0_0_29453778_26585\Main.java:47: 错误: 需要class, interface或enum
node b;
^
0_0_29453778_26585\Main.java:48: 错误: 需要class, interface或enum
b.w = aa + bb;
^
0_0_29453778_26585\Main.java:49: 错误: 需要class, interface或enum
q.push(b);
^
0_0_29453778_26585\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_29453778_26585\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_29453778_26585\Main.java:55: 错误: 需要class, interface或enum
}
^
39 个错误
|