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_28848669_4698.cpp:1:28: error: stray '#' in program
 <code class=" hljs axapta">#include<bits/stdc++.h>
                            ^
0_0_28848669_4698.cpp:1:1: error: expected unqualified-id before '<' token
 <code class=" hljs axapta">#include<bits/stdc++.h>
 ^
0_0_28848669_4698.cpp: In function 'int read()':
0_0_28848669_4698.cpp:16:21: error: 'getchar' was not declared in this scope
     char ch=getchar();
                     ^
0_0_28848669_4698.cpp: In function 'void mian()':
0_0_28848669_4698.cpp:95:27: error: 'memset' was not declared in this scope
     memset(dp,0,sizeof(dp));
                           ^
0_0_28848669_4698.cpp:152:32: error: 'printf' was not declared in this scope
     printf("%I64d\n",ans*tt%mod);
                                ^
0_0_28848669_4698.cpp: In function 'int main()':
0_0_28848669_4698.cpp:157:30: error: '__gcd' was not declared in this scope
             g[i][j]=__gcd(i,j);
                              ^
0_0_28848669_4698.cpp:161:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-03-11 13:08:13, Gzip enabled