Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78286 令狐文丽 04四位数移位 C++ Compile Error 0 MS 0 KB 134 2024-06-17 19:45:56

Tests(0/0):


Code:

#include<iostream> #include<cstdio> int main(){ int a,b; scanf("%3d%1d,&a,&b); cout<<b<<a<<endl; return 0; }


Run Info:

Main.cc:5:11: warning: missing terminating " character
     scanf("%3d%1d,&a,&b);
           ^
Main.cc:5:5: error: missing terminating " character
     scanf("%3d%1d,&a,&b);
     ^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cout' was not declared in this scope
     cout<& __os)
     ^