Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126120 | 陈淮遇 | 05交换数据 | C++ | Compile Error | 0 MS | 0 KB | 165 | 2025-07-16 15:04:40 |
p#include<bits/stdc++.h> using namespace std; int main() { int a; int b; int c; cin>>a>>b; c=a; a=b; b=c; cout<<a<<" "<<b; return 0; }
Main.cc:1:2: error: stray '#' in program p#include ^ Main.cc:1:1: error: 'p' does not name a type p#include ^ Main.cc: In function 'int main()': Main.cc:7:2: error: 'cin' was not declared in this scope cin>>a>>b; ^ Main.cc:11:2: error: 'cout' was not declared in this scope cout<