Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135325 王晨逸 06买鸡腿 C++ Compile Error 0 MS 0 KB 120 2025-11-03 16:58:08

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=1,b=7; cin a; cin b; cout<<b/3+b; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:9: error: expected ';' before 'a'
     cin a;
         ^
Main.cc:5:10: warning: statement has no effect [-Wunused-value]
     cin a;
          ^
Main.cc:6:9: error: expected ';' before 'b'
     cin b;
         ^
Main.cc:6:10: warning: statement has no effect [-Wunused-value]
     cin b;
          ^
Main.cc:4:5: warning: unused variable 'a' [-Wunused-variable]
 int a=1,b=7;
     ^