Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68455 周奕辰 06变换四位数 C++ Compile Error 0 MS 0 KB 139 2024-03-23 14:22:28

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b; scarf("%3d%1d",&a,&b); printf("%1d%3d",b,a) return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:25: error: 'scarf' was not declared in this scope
     scarf("%3d%1d",&a,&b);
                         ^
Main.cc:7:5: error: expected ';' before 'return'
     return 0;
     ^