Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132193 余建成 04四位数移位 C++ Compile Error 0 MS 0 KB 173 2025-10-07 12:00:05

Tests(0/0):


Code:

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


Run Info:

Main.cc:3:7: error: expected nested-name-specifier before 'namespacs'
 using namespacs std;
       ^
Main.cc: In function 'int main()':
Main.cc:9:7: error: 'cout' was not declared in this scope
       cout << b <& __os)
     ^
Main.cc:8:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
       scanf("%3d%1d",&a,&b);
                            ^