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

Tests(0/0):


Code:

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


Run Info:

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