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_38574474_16715.cpp: In function 'int main()':
0_0_38574474_16715.cpp:12:6: error: 'll' was not declared in this scope
      ll num = 0;
      ^~
0_0_38574474_16715.cpp:15:7: error: 'num' was not declared in this scope
       num += q[i] - 1;
       ^~~
0_0_38574474_16715.cpp:15:7: note: suggested alternative: 'enum'
       num += q[i] - 1;
       ^~~
       enum
0_0_38574474_16715.cpp:18:11: error: 'num' was not declared in this scope
   else if(num % (n-1) == 0) printf("%d\n",num/(n-1));
           ^~~
0_0_38574474_16715.cpp:18:11: note: suggested alternative: 'enum'
   else if(num % (n-1) == 0) printf("%d\n",num/(n-1));
           ^~~
           enum


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-12-02 05:07:00, Gzip enabled