Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152003 鸡哥 04四位数移位 C++ Compile Error 0 MS 0 KB 119 2026-04-19 14:29:10

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; scan(%3%4,&a&b); cout<<b<<a; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:7: error: expected primary-expression before '%' token
  scan(%3%4,&a&b);
       ^
Main.cc:5:15: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
  scan(%3%4,&a&b);
               ^
Main.cc:5:16: error: 'scan' was not declared in this scope
  scan(%3%4,&a&b);
                ^