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_18228818_23188.cpp: In function 'void cheng(long long int (*)[2], long long int (*)[2])':
0_0_18228818_23188.cpp:26:26: error: 'memset' was not declared in this scope
    memset(c, 0, sizeof(c));
                          ^
0_0_18228818_23188.cpp: In function 'int main()':
0_0_18228818_23188.cpp:68:29: error: 'memset' was not declared in this scope
    memset(q, true, sizeof(q)); m = 0;
                             ^
0_0_18228818_23188.cpp:86:25: error: 'scanf' was not declared in this scope
    while (scanf("%d", &n) != EOF)
                         ^
0_0_18228818_23188.cpp:86:30: error: 'EOF' was not declared in this scope
    while (scanf("%d", &n) != EOF)
                              ^
0_0_18228818_23188.cpp:88:33: error: 'printf' was not declared in this scope
       if (n == 1) { printf("2\n"); continue; } 
                                 ^
0_0_18228818_23188.cpp:89:21: error: 'sqrt' was not declared in this scope
       int t = sqrt(n); Ans  = 0; 
                     ^
0_0_18228818_23188.cpp:95:7: error: 'cout' is not a member of 'std'
       std::cout << Ans * inv(n, M) % M << std::endl;
       ^
0_0_18228818_23188.cpp:95:43: error: 'endl' is not a member of 'std'
       std::cout << Ans * inv(n, M) % M << std::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-01 14:20:36, Gzip enabled