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_13803803_18766.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13803803_18766.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13803803_18766.cpp:40:1: error: missing terminating " character
 else if(n==9)   printf("buy
 ^
0_0_13803803_18766.cpp:41:1: error: missing terminating " character
 food");
 ^
0_0_13803803_18766.cpp:44:1: error: missing terminating " character
 else if(n==8)   printf("stay at
 ^
0_0_13803803_18766.cpp:45:1: error: missing terminating " character
 home");
 ^
0_0_13803803_18766.cpp:48:1: error: missing terminating " character
 else if(n==7)   printf("visit
 ^
0_0_13803803_18766.cpp:49:1: error: missing terminating " character
 teachers");
 ^
0_0_13803803_18766.cpp:52:1: error: missing terminating " character
 else if(n==6)   printf("go to
 ^
0_0_13803803_18766.cpp:53:1: error: missing terminating " character
 KTV");
 ^
0_0_13803803_18766.cpp:56:1: error: missing terminating " character
 else if(n==5)   printf("meet
 ^
0_0_13803803_18766.cpp:57:1: error: missing terminating " character
 friends");
 ^
0_0_13803803_18766.cpp:60:1: error: missing terminating " character
 else if(n==4)   printf("go to
 ^
0_0_13803803_18766.cpp:61:1: error: missing terminating " character
 movies");
 ^
0_0_13803803_18766.cpp:64:1: error: missing terminating " character
 else if(n==3)   printf("stay at
 ^
0_0_13803803_18766.cpp:65:1: error: missing terminating " character
 home");
 ^
0_0_13803803_18766.cpp:76:1: error: missing terminating " character
 else if(n==0)   printf("go
 ^
0_0_13803803_18766.cpp:77:1: error: missing terminating " character
 out");
 ^
0_0_13803803_18766.cpp: In function 'int main()':
0_0_13803803_18766.cpp:13:14: error: 'scanf' was not declared in this scope
 scanf("%d",&t);
              ^
0_0_13803803_18766.cpp:24:22: error: 'printf' was not declared in this scope
 printf("Samuel will ");
                      ^
0_0_13803803_18766.cpp:41:1: error: 'food' was not declared in this scope
 food");
 ^
0_0_13803803_18766.cpp:77:1: error: 'out' was not declared in this scope
 out");
 ^


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-11-29 22:27:31, Gzip enabled