记录详情

Compile Error

./Main.java:1: error: illegal character: '#'
#include <iostream>
^
./Main.java:1: error: class, interface, or enum expected
#include <iostream>
         ^
./Main.java:4: error: class, interface, or enum expected
void main()
^
./Main.java:7: error: class, interface, or enum expected
    cin>>a>>b>>c;
    ^
./Main.java:9: error: class, interface, or enum expected
    mid = (a > b) ? ((a > c) ? c : a) : ((b > c) ? c : b);
    ^
./Main.java:10: error: class, interface, or enum expected
	max = (a > b) ? ((a > c) ? a : c) : ((b > c) ? b : c);
	^
./Main.java:12: error: class, interface, or enum expected
    cout<<max<<" "<<mid<<"
    ^
./Main.java:12: error: unclosed string literal
    cout<<max<<" "<<mid<<"
                         ^
8 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A1-2 分支结构练习:三数的特征值
语言
Java
递交时间
2021-08-29 18:39:46
评测时间
2021-08-29 18:39:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes