Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66319 黄枳润 02数字拼接 C++ Compile Error 0 MS 0 KB 136 2024-03-05 19:02:25

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { int a,b; scanf(%d a,b) cout<<(a*10+b)*(a*10+b); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:11: error: expected primary-expression before '%' token
     scanf(%d a,b)
           ^
Main.cc:6:12: error: 'd' was not declared in this scope
     scanf(%d a,b)
            ^
Main.cc:5:9: warning: unused variable 'a' [-Wunused-variable]
     int a,b;
         ^