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_19198236_10316.cpp: In function 'int main()':
0_0_19198236_10316.cpp:13:32: error: 'scanf' was not declared in this scope
     while(~scanf("%d%d", &a, &r))  
                                ^
0_0_19198236_10316.cpp:16:33: error: 'memset' was not declared in this scope
         memset(ma, 0, sizeof(ma));  
                                 ^
0_0_19198236_10316.cpp:26:25: error: 'printf' was not declared in this scope
             printf("0\n");  
                         ^
0_0_19198236_10316.cpp:30:27: error: 'printf' was not declared in this scope
                 printf("-");  
                           ^
0_0_19198236_10316.cpp:34:39: error: 'printf' was not declared in this scope
                     printf("%d", ma[i]);  
                                       ^
0_0_19198236_10316.cpp:36:50: error: 'printf' was not declared in this scope
                     printf("%c", ma[i] - 10 + 'A');  
                                                  ^
0_0_19198236_10316.cpp:39:24: error: 'printf' was not declared in this scope
             printf("\n");  
                        ^


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-12-02 09:26:57, Gzip enabled