0_0_39721873_24975\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_39721873_24975\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_39721873_24975\Main.java:4: 错误: 需要class, interface或enum
string str;
^
0_0_39721873_24975\Main.java:5: 错误: 需要class, interface或enum
stack<double> s;
^
0_0_39721873_24975\Main.java:6: 错误: 需要class, interface或enum
double ans;
^
0_0_39721873_24975\Main.java:8: 错误: 需要class, interface或enum
int main()
^
0_0_39721873_24975\Main.java:13: 错误: 需要class, interface或enum
while (!s.empty())
^
0_0_39721873_24975\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:18: 错误: 需要class, interface或enum
int n = str.size();
^
0_0_39721873_24975\Main.java:19: 错误: 需要class, interface或enum
if (str[0] == '0' && n == 1)
^
0_0_39721873_24975\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:23: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_39721873_24975\Main.java:23: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_39721873_24975\Main.java:26: 错误: 需要class, interface或enum
if (str[i] == ' ')
^
0_0_39721873_24975\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:35: 错误: 需要class, interface或enum
while (i < n && str[i] != ' ')
^
0_0_39721873_24975\Main.java:38: 错误: 需要class, interface或enum
i++;
^
0_0_39721873_24975\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:45: 错误: 需要class, interface或enum
while (i < n && str[i] != ' ')
^
0_0_39721873_24975\Main.java:48: 错误: 需要class, interface或enum
i++;
^
0_0_39721873_24975\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:55: 错误: 需要class, interface或enum
double t1 = s.top();
^
0_0_39721873_24975\Main.java:56: 错误: 需要class, interface或enum
s.pop();
^
0_0_39721873_24975\Main.java:57: 错误: 需要class, interface或enum
while (i < n && str[i] != ' ')
^
0_0_39721873_24975\Main.java:60: 错误: 需要class, interface或enum
i++;
^
0_0_39721873_24975\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:63: 错误: 需要class, interface或enum
double t = t1 * t2;
^
0_0_39721873_24975\Main.java:64: 错误: 需要class, interface或enum
s.push(t);
^
0_0_39721873_24975\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:69: 错误: 需要class, interface或enum
double t1 = s.top();
^
0_0_39721873_24975\Main.java:70: 错误: 需要class, interface或enum
s.pop();
^
0_0_39721873_24975\Main.java:71: 错误: 需要class, interface或enum
while (i < n && str[i] != ' ')
^
0_0_39721873_24975\Main.java:74: 错误: 需要class, interface或enum
i++;
^
0_0_39721873_24975\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:77: 错误: 需要class, interface或enum
double t = 1.0 * t1 / t2;
^
0_0_39721873_24975\Main.java:78: 错误: 需要class, interface或enum
s.push(t);
^
0_0_39721873_24975\Main.java:79: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:86: 错误: 需要class, interface或enum
i++;
^
0_0_39721873_24975\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:94: 错误: 需要class, interface或enum
s.pop();
^
0_0_39721873_24975\Main.java:95: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:97: 错误: 需要class, interface或enum
}
^
0_0_39721873_24975\Main.java:99: 错误: 需要class, interface或enum
}
^
46 个错误
|