F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_9705539_3097\Main.java:1: 非法字符: \35
#include <iostream>
^
0_0_9705539_3097\Main.java:2: 非法字符: \35
#include <iomanip>
^
0_0_9705539_3097\Main.java:3: 非法字符: \35
#include <cmath>
^
0_0_9705539_3097\Main.java:6: 需要为 class、interface 或 enum
int main()
^
0_0_9705539_3097\Main.java:9: 需要为 class、interface 或 enum
    double angleL,angleR,S;
    ^
0_0_9705539_3097\Main.java:10: 需要为 class、interface 或 enum
    cin>>N;
    ^
0_0_9705539_3097\Main.java:11: 需要为 class、interface 或 enum
    while(N--)
    ^
0_0_9705539_3097\Main.java:14: 需要为 class、interface 或 enum
        angleL = acos(L/static_cast<double>(A));//acos -> [0,PI]
        ^
0_0_9705539_3097\Main.java:15: 需要为 class、interface 或 enum
        angleR = acos(R/static_cast<double>(A));
        ^
0_0_9705539_3097\Main.java:16: 需要为 class、interface 或 enum
        S = A*B*(angleL-angleR+(sin(2*angleR)-sin(2*angleL))/2);
        ^
0_0_9705539_3097\Main.java:17: 需要为 class、interface 或 enum
        cout<<fixed<<setprecision(3)<<S<<endl;
        ^
0_0_9705539_3097\Main.java:18: 需要为 class、interface 或 enum
    }
    ^
0_0_9705539_3097\Main.java:20: 需要为 class、interface 或 enum
}
^
13 错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 09:18:29, Gzip enabled