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_26497316_30784.cpp:4:1: error: stray '\243' in program
 {char c[3];while(scanf("%s",&c)!=EOF)
 ^
0_0_26497316_30784.cpp:4:1: error: stray '\254' in program
0_0_26497316_30784.cpp:5:1: error: stray '\243' in program
 {sort(c,c+3);
 ^
0_0_26497316_30784.cpp:5:1: error: stray '\254' in program
0_0_26497316_30784.cpp:7:3: error: stray '\243' in program
   printf(i==2?("%d",i):"\n");
   ^
0_0_26497316_30784.cpp:7:3: error: stray '\254' in program
0_0_26497316_30784.cpp:2:7: error: expected nested-name-specifier before 'nmaespace'
 using nmaespace std;
       ^
0_0_26497316_30784.cpp: In function 'int main()':
0_0_26497316_30784.cpp:4:31: error: invalid operands of types 'const char [3]' and 'char [3]' to binary 'operator&'
 {char c[3];while(scanf("%s",&c)!=EOF)
                               ^
0_0_26497316_30784.cpp:5:10: error: expected ')' before 'c'
 {sort(c,c+3);
          ^
0_0_26497316_30784.cpp:5:13: error: 'sort' was not declared in this scope
 {sort(c,c+3);
             ^
0_0_26497316_30784.cpp:7:22: error: expected ')' before 'i'
   printf(i==2?("%d",i):"\n");
                      ^
0_0_26497316_30784.cpp:7:30: error: expected ':' before ';' token
   printf(i==2?("%d",i):"\n");
                              ^
0_0_26497316_30784.cpp:7:30: error: expected primary-expression before ';' token
0_0_26497316_30784.cpp:8:10: error: expected '}' at end of input
 return 0;}
          ^


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-06-29 15:48:38, Gzip enabled