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_30096008_25074.cpp: In function 'int exgcd(int, int)':
0_0_30096008_25074.cpp:6:15: error: return-statement with no value, in function returning 'int' [-fpermissive]
   x=1;y=0;d=a;return;
               ^
0_0_30096008_25074.cpp: In function 'int main()':
0_0_30096008_25074.cpp:14:8: error: 'k' was not declared in this scope
  x=2+3*k;
        ^
0_0_30096008_25074.cpp:15:2: error: 'ans' was not declared in this scope
  ans=(10-2)/3+1;
  ^
0_0_30096008_25074.cpp:16:7: error: 't' was not declared in this scope
  cin>>t;
       ^
0_0_30096008_25074.cpp:19:8: error: 'n' was not declared in this scope
   cin>>n>>m;
        ^
0_0_30096008_25074.cpp:19:11: error: 'm' was not declared in this scope
   cin>>n>>m;
           ^
0_0_30096008_25074.cpp:20:7: error: 'i' was not declared in this scope
   for(i=1;i<=m;i++)cin>>z1[i];
       ^
0_0_30096008_25074.cpp:20:25: error: 'z1' was not declared in this scope
   for(i=1;i<=m;i++)cin>>z1[i];
                         ^
0_0_30096008_25074.cpp:21:7: error: 'i' was not declared in this scope
   for(i=1;i<=m;i++)cin>>z2[i];
       ^
0_0_30096008_25074.cpp:21:25: error: 'z2' was not declared in this scope
   for(i=1;i<=m;i++)cin>>z2[i];
                         ^


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 16:28:29, Gzip enabled