Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134468 刘卫东 04倒序输出五位数 C++ Compile Error 0 MS 0 KB 141 2025-10-27 17:10:57

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int a,b,c,d; scanf("%1d%1d%1d%1d%1d",&a,&b,&c,&d); cout<<e<<d<<c<<b<<a; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:37: warning: format '%d' expects a matching 'int*' argument [-Wformat=]
  scanf("%1d%1d%1d%1d%1d",&a,&b,&c,&d); 
                                     ^
Main.cc:6:8: error: 'e' was not declared in this scope
  cout<