Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92243 | 只因你太美(Ikun 真爱粉) | 输出较大的数 | C++ | Compile Error | 0 MS | 0 KB | 340 | 2024-09-28 16:50:01 |
#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(){ string a; cin>>a; cout<"<max="<<int(a[0])-48+int(a[2])-48; return 0; }
Main.cc: In function 'int main()': Main.cc:9:42: error: invalid operands of types 'const char [6]' and 'int' to binary 'operator<<' cout<"