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_27902245_10768.cpp:3:18: error: conflicting declaration 'typedef __int128 ll'
 typedef __int128 ll;
                  ^
0_0_27902245_10768.cpp:2:19: note: previous declaration as 'typedef long long int ll'
 typedef long long ll;
                   ^
0_0_27902245_10768.cpp:8:1: error: 'LL' does not name a type
 LL c[100][100],dp[100][100],t[4]={1,15,20,24};
 ^
0_0_27902245_10768.cpp: In function 'int main()':
0_0_27902245_10768.cpp:12:5: error: 'LL' was not declared in this scope
     LL MOD;
     ^
0_0_27902245_10768.cpp:19:9: error: 'MOD' was not declared in this scope
         MOD=MO;
         ^
0_0_27902245_10768.cpp:21:9: error: 'c' was not declared in this scope
         c[0][0]=1;
         ^
0_0_27902245_10768.cpp:42:12: error: expected ';' before 'ans'
         LL ans=0;
            ^
0_0_27902245_10768.cpp:49:21: error: 'dp' was not declared in this scope
                     dp[j][k]=0;
                     ^
0_0_27902245_10768.cpp:51:13: error: 'dp' was not declared in this scope
             dp[0][0]=1;
             ^
0_0_27902245_10768.cpp:63:13: error: 'ans' was not declared in this scope
             ans=(dp[n][up]*t[i]%MOD+ans)%MOD;
             ^
0_0_27902245_10768.cpp:63:28: error: 't' was not declared in this scope
             ans=(dp[n][up]*t[i]%MOD+ans)%MOD;
                            ^
0_0_27902245_10768.cpp:65:9: error: 'ans' was not declared in this scope
         ans=ans/60;
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 18:03:59, Gzip enabled