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_16796145_24655.cpp:7:3: error: missing terminating " character
   printf("%,f/n/n,(1+n)/2.0*n);
   ^
0_0_16796145_24655.cpp: In function 'int main()':
0_0_16796145_24655.cpp:5:21: error: 'scant' was not declared in this scope
  while(scant("%d",&n)!=EOF)
                     ^
0_0_16796145_24655.cpp:8:2: error: expected primary-expression before '}' token
  }
  ^
0_0_16796145_24655.cpp:9:2: error: 'return0' was not declared in this scope
  return0;
  ^


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-10-06 04:56:22, Gzip enabled