Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
330947 | 路明泽 | 【C1-4】数据交换 | C++ | 通过 | 100 | 4 MS | 192 KB | 212 | 2025-07-11 13:00:31 |
#include <stdio.h> int main() { int a, b, temp; scanf("%d %d", &a, &b); // 交换a和b的值 temp = a; a = b; b = temp; printf("%d %d\n", a, b); return 0; }