Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
119952 何睿函 02武王伐纣 C++ Compile Error 0 MS 0 KB 131 2025-05-22 19:31:30

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=8650,b=4,s=0; int s=a*b; cout<<s; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:9: error: redeclaration of 'int s'
     int s=a*b;
         ^
Main.cc:4:20: note: 'int s' previously declared here
     int a=8650,b=4,s=0;
                    ^