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_39375400_8705.cpp:14:38: error: stray '\243' in program
   14 |         cout << fixed << setprecision<a3><a8>2<a3><a9> << sum << endl;
      |                                      ^~~~
0_0_39375400_8705.cpp:14:39: error: stray '\250' in program
   14 |         cout << fixed << setprecision<a3><a8>2<a3><a9> << sum << endl;
      |                                          ^~~~
0_0_39375400_8705.cpp:14:41: error: stray '\243' in program
   14 |         cout << fixed << setprecision<a3><a8>2<a3><a9> << sum << endl;
      |                                               ^~~~
0_0_39375400_8705.cpp:14:42: error: stray '\251' in program
   14 |         cout << fixed << setprecision<a3><a8>2<a3><a9> << sum << endl;
      |                                                   ^~~~
0_0_39375400_8705.cpp: In function 'int main()':
0_0_39375400_8705.cpp:12:29: error: 'pow' was not declared in this scope
   12 |             sum += 1.0/ i * pow(-1, i + 1);
      |                             ^~~
0_0_39375400_8705.cpp:14:38: error: expected ';' before numeric constant
   14 |         cout << fixed << setprecision£¨2£© << sum << endl;
      |                                      ^ ~
      |                                      ;


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 16:48:34, Gzip enabled