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_21232450_18285.cpp:2:1: error: stray '\345' in program
 澶嶅埗 #include<iostream>
 ^
0_0_21232450_18285.cpp:2:1: error: stray '\244' in program
0_0_21232450_18285.cpp:2:1: error: stray '\215' in program
0_0_21232450_18285.cpp:2:1: error: stray '\345' in program
0_0_21232450_18285.cpp:2:1: error: stray '\210' in program
0_0_21232450_18285.cpp:2:1: error: stray '\266' in program
0_0_21232450_18285.cpp:2:8: error: stray '#' in program
 澶嶅埗 #include<iostream>
        ^
0_0_21232450_18285.cpp:2:9: error: 'include' does not name a type
 澶嶅埗 #include<iostream>
         ^
0_0_21232450_18285.cpp: In function 'int main()':
0_0_21232450_18285.cpp:7:10: error: 'cin' was not declared in this scope
    while(cin >> a)
          ^
0_0_21232450_18285.cpp:8:1: error: 'cout' was not declared in this scope
 cout << a*(a+1)/2 << endl;
 ^
0_0_21232450_18285.cpp:8:22: error: 'endl' was not declared in this scope
 cout << a*(a+1)/2 << 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-07-03 06:52:07, Gzip enabled