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_38283351_27.cpp:1:1: error: 'include' does not name a type
 include<iostream>
 ^
0_0_38283351_27.cpp: In function 'int main()':
0_0_38283351_27.cpp:6:5: error: 'cin' was not declared in this scope
     cin>>t;
     ^
0_0_38283351_27.cpp:10:23: error: 'cout' was not declared in this scope
         if(n%10==0)  {cout<<0<<endl;}
                       ^
0_0_38283351_27.cpp:10:32: error: 'endl' was not declared in this scope
         if(n%10==0)  {cout<<0<<endl;}
                                ^
0_0_38283351_27.cpp:11:29: error: 'cout' was not declared in this scope
         else if(n%10==1)   {cout<<1<<endl;}
                             ^
0_0_38283351_27.cpp:11:38: error: 'endl' was not declared in this scope
         else if(n%10==1)   {cout<<1<<endl;}
                                      ^
0_0_38283351_27.cpp:12:29: error: 'cout' was not declared in this scope
         else if(n%10==4)   {cout<<6<<endl;}
                             ^
0_0_38283351_27.cpp:12:38: error: 'endl' was not declared in this scope
         else if(n%10==4)   {cout<<6<<endl;}
                                      ^
0_0_38283351_27.cpp:13:29: error: 'cout' was not declared in this scope
         else if(n%10==5)   {cout<<5<<endl;}
                             ^
0_0_38283351_27.cpp:13:38: error: 'endl' was not declared in this scope
         else if(n%10==5)   {cout<<5<<endl;}
                                      ^
0_0_38283351_27.cpp:14:29: error: 'cout' was not declared in this scope
         else if(n%10==6)   {cout<<6<<endl;}
                             ^
0_0_38283351_27.cpp:14:38: error: 'endl' was not declared in this scope
         else if(n%10==6)   {cout<<6<<endl;}
                                      ^
0_0_38283351_27.cpp:15:29: error: 'cout' was not declared in this scope
         else if(n%10==9)   {cout<<9<<endl;}
                             ^
0_0_38283351_27.cpp:15:38: error: 'endl' was not declared in this scope
         else if(n%10==9)   {cout<<9<<endl;}
                                      ^
0_0_38283351_27.cpp:18:25: error: 'cout' was not declared in this scope
             if(n%4==2) {cout<<4<<endl;}
                         ^
0_0_38283351_27.cpp:18:34: error: 'endl' was not declared in this scope
             if(n%4==2) {cout<<4<<endl;}
                                  ^
0_0_38283351_27.cpp:19:20: error: 'cout' was not declared in this scope
             else  {cout<<6<<endl;}
                    ^
0_0_38283351_27.cpp:19:29: error: 'endl' was not declared in this scope
             else  {cout<<6<<endl;}
                             ^
0_0_38283351_27.cpp:23:25: error: 'cout' was not declared in this scope
             if(n%4==1) {cout<<3<<endl;}
                         ^
0_0_38283351_27.cpp:23:34: error: 'endl' was not declared in this scope
             if(n%4==1) {cout<<3<<endl;}
                                  ^
0_0_38283351_27.cpp:24:20: error: 'cout' was not declared in this scope
             else  {cout<<7<<endl;}
                    ^
0_0_38283351_27.cpp:24:29: error: 'endl' was not declared in this scope
             else  {cout<<7<<endl;}
                             ^
0_0_38283351_27.cpp:28:25: error: 'cout' was not declared in this scope
             if(n%4==1) {cout<<7<<endl;}
                         ^
0_0_38283351_27.cpp:28:34: error: 'endl' was not declared in this scope
             if(n%4==1) {cout<<7<<endl;}
                                  ^
0_0_38283351_27.cpp:29:20: error: 'cout' was not declared in this scope
             else  {cout<<3<<endl;}
                    ^
0_0_38283351_27.cpp:29:29: error: 'endl' was not declared in this scope
             else  {cout<<3<<endl;}
                             ^
0_0_38283351_27.cpp:33:25: error: 'cout' was not declared in this scope
             if(n%4==2) {cout<<4<<endl;}
                         ^
0_0_38283351_27.cpp:33:34: error: 'endl' was not declared in this scope
             if(n%4==2) {cout<<4<<endl;}
                                  ^
0_0_38283351_27.cpp:34:20: error: 'cout' was not declared in this scope
             else  {cout<<6<<endl;}
                    ^
0_0_38283351_27.cpp:34:29: error: 'endl' was not declared in this scope
             else  {cout<<6<<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-06 17:54:10, Gzip enabled