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_22282229_25820.cpp: In function 'int main()':
0_0_22282229_25820.cpp:18:12: error: expected primary-expression before '?' token
           {?
            ^
0_0_22282229_25820.cpp:19:10: error: expected primary-expression before 'double'
          double v=vv[i],vx,vy;
          ^
0_0_22282229_25820.cpp:19:10: error: expected ':' before 'double'
0_0_22282229_25820.cpp:19:10: error: expected primary-expression before 'double'
0_0_22282229_25820.cpp:20:10: error: 'vx' was not declared in this scope
          vx=v*cos(angle);
          ^
0_0_22282229_25820.cpp:20:13: error: 'v' was not declared in this scope
          vx=v*cos(angle);
             ^
0_0_22282229_25820.cpp:21:10: error: 'vy' was not declared in this scope
          vy=v*sin(angle);
          ^


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-28 00:38:44, Gzip enabled