Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109553 李朋秦 11整数的除法 C++ Compile Error 0 MS 0 KB 141 2025-02-09 14:57:21

Tests(0/0):


Code:

#include<cstdio> //scanf()\printf() int main(){ int a,b; scanf("%d%d",&a&b); printf("%d %d",(a/b)(a%b)); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:21: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
     scanf("%d%d",&a&b);
                     ^
Main.cc:5:29: error: expression cannot be used as a function
     printf("%d %d",(a/b)(a%b));
                             ^