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_36561364_17371.cpp: In function 'void solve()':
0_0_36561364_17371.cpp:27:5: error: 'll' was not declared in this scope
     ll va = -1, vb = -1;
     ^
0_0_36561364_17371.cpp:29:12: error: expected ';' before 'sa'
         ll sa = 0, sb = 0;
            ^
0_0_36561364_17371.cpp:34:17: error: 'sa' was not declared in this scope
                 sa++;
                 ^
0_0_36561364_17371.cpp:35:17: error: 'sb' was not declared in this scope
                 sb += j;
                 ^
0_0_36561364_17371.cpp:38:17: error: 'va' was not declared in this scope
             if (va == -1) {
                 ^
0_0_36561364_17371.cpp:39:22: error: 'sa' was not declared in this scope
                 va = sa, vb = sb;
                      ^
0_0_36561364_17371.cpp:39:26: error: 'vb' was not declared in this scope
                 va = sa, vb = sb;
                          ^
0_0_36561364_17371.cpp:39:31: error: 'sb' was not declared in this scope
                 va = sa, vb = sb;
                               ^
0_0_36561364_17371.cpp:42:26: error: 'sb' was not declared in this scope
                 if (va * sb != vb * sa) {
                          ^
0_0_36561364_17371.cpp:42:32: error: 'vb' was not declared in this scope
                 if (va * sb != vb * sa) {
                                ^
0_0_36561364_17371.cpp:42:37: error: 'sa' was not declared in this scope
                 if (va * sb != vb * sa) {
                                     ^


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-11-26 07:37:54, Gzip enabled