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_30243261_22197.cpp:8:1: error: expected initializer before 'll'
 ll n, m, k, ans;
 ^
0_0_30243261_22197.cpp: In function 'int main()':
0_0_30243261_22197.cpp:11:15: error: 't' was not declared in this scope
  scanf("%d", &t);
               ^
0_0_30243261_22197.cpp:13:29: error: 'n' was not declared in this scope
   scanf("%I64d%I64d%I64d", &n, &m, &k);
                             ^
0_0_30243261_22197.cpp:13:33: error: 'm' was not declared in this scope
   scanf("%I64d%I64d%I64d", &n, &m, &k);
                                 ^
0_0_30243261_22197.cpp:13:37: error: 'k' was not declared in this scope
   scanf("%I64d%I64d%I64d", &n, &m, &k);
                                     ^
0_0_30243261_22197.cpp:15:4: error: 'ans' was not declared in this scope
    ans = n * (m + 1);
    ^
0_0_30243261_22197.cpp:18:4: error: 'ans' was not declared in this scope
    ans = (m / d + 1) * (k - 1) + m + 1;
    ^
0_0_30243261_22197.cpp:20:21: error: 'ans' was not declared in this scope
   printf("%I64d\n", ans);
                     ^


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 17:59:46, Gzip enabled