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_22318417_25409.cpp: In function 'int main()':
0_0_22318417_25409.cpp:18:18: error: 'b' was not declared in this scope
    scanf("%d%d",&b[i][0],&b[i][1]);
                  ^
0_0_22318417_25409.cpp:28:23: error: 'b' was not declared in this scope
      if(!vis[j]&&(ans+b[j][0])%b[j][1]==0){
                       ^
0_0_22318417_25409.cpp:29:20: error: 'v' was not declared in this scope
      printf("%d\n",v[j]);
                    ^
0_0_22318417_25409.cpp:41:1: error: expected 'while' at end of input
 } 
 ^
0_0_22318417_25409.cpp:41:1: error: expected '(' at end of input
0_0_22318417_25409.cpp:41:1: error: expected primary-expression at end of input
0_0_22318417_25409.cpp:41:1: error: expected ')' at end of input
0_0_22318417_25409.cpp:41:1: error: expected ';' at end of input
0_0_22318417_25409.cpp:41:1: error: expected '}' at end of input
0_0_22318417_25409.cpp:41:1: error: expected '}' at end of input


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-09-28 14:15:39, Gzip enabled