Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145576 冯祥瑞 比较三个数大小II C++ Compile Error 0 MS 0 KB 297 2026-01-25 16:38:50

Tests(0/0):


Code:

#include <iostream> #include <algorithm> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; // 方法一:使用排序 int arr[3] = {a, b, c}; sort(arr, arr + 3); cout << arr[0] << " " << arr[1] << " " << arr[2] << endl; return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:15:13: error: expected '}' at end of input
     return 0;
             ^