我的 WSL2 安装的是 Ubuntu,在不小心 sudo vi /etc/sudoers 之后,添加了错误的内容,这时候再 sudo 就报错了: $ sudo /etc/sudoers: syntax error near line 30 <<<sudo: parse error in /etc/sudoers near line 30sudo: no valid sudoers sou
#include<iostream> using namespace std; class C { private: int x; public: C(int x){this->x = x;} int getX()const{return x;} }; int main() { const C c(5); cout<<c.getX(); ret
[报错信息1:JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1] 和 [报错信息2:AttributeError: 'str' object has no attribute 'read' ] 以及demjson安装使用 一、报错信息二、尝试修改1.cmd的尝