Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98395 唐俊逸 04倒序输出五位数 C++ Compile Error 0 MS 0 KB 376 2024-11-20 20:38:05

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ float a b c d e ; a b c d e=e d c b a cin>>a>>b>>c>>d>>e; cout<<a<<b<<c<<d<<e<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:13: error: expected initializer before 'b'
     float a b  c  d e ;
             ^
Main.cc:9:5: error: 'a' was not declared in this scope
     a b c d e=e d c b a 
     ^
Main.cc:11:14: error: 'b' was not declared in this scope
     cout<