| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134366 | rsx | 04四位数移位 | C++ | Compile Error | 0 MS | 0 KB | 159 | 2025-10-27 16:23:08 |
#include <iostream> using namespace std; int main(){ int a,b,c,d; scanf(''%1d%1d%1d%1d,&a,&b,&c,&d); cout d<<a<<b<<c; }
Main.cc:5:14: error: empty character constant
scanf(''%1d%1d%1d%1d,&a,&b,&c,&d);
^
Main.cc: In function 'int main()':
Main.cc:5:17: error: unable to find numeric literal operator 'operator""d'
scanf(''%1d%1d%1d%1d,&a,&b,&c,&d);
^
Main.cc:5:17: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
Main.cc:5:20: error: unable to find numeric literal operator 'operator""d'
scanf(''%1d%1d%1d%1d,&a,&b,&c,&d);
^
Main.cc:5:20: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
Main.cc:5:23: error: unable to find numeric literal operator 'operator""d'
scanf(''%1d%1d%1d%1d,&a,&b,&c,&d);
^
Main.cc:5:23: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
Main.cc:5:26: error: unable to find numeric literal operator 'operator""d'
scanf(''%1d%1d%1d%1d,&a,&b,&c,&d);
^
Main.cc:5:26: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
Main.cc:6:13: error: expected ';' before 'd'
cout d<