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_30422875_3253.cpp:8:7: error: 'LL' does not name a type
 const LL mod = 998244353;
       ^
0_0_30422875_3253.cpp:10:1: error: 'LL' does not name a type
 LL fuck[maxn];
 ^
0_0_30422875_3253.cpp:11:1: error: 'LL' does not name a type
 LL C(LL n,LL m){    
 ^
0_0_30422875_3253.cpp: In function 'int main()':
0_0_30422875_3253.cpp:30:9: error: 'LL' was not declared in this scope
         LL n = read(),m = read(),k = read(),ans = 0;
         ^
0_0_30422875_3253.cpp:31:16: error: expected ';' before 'i'
         for(LL i=0; i<=k/n; i++){
                ^
0_0_30422875_3253.cpp:31:21: error: 'i' was not declared in this scope
         for(LL i=0; i<=k/n; i++){
                     ^
0_0_30422875_3253.cpp:31:24: error: 'k' was not declared in this scope
         for(LL i=0; i<=k/n; i++){
                        ^
0_0_30422875_3253.cpp:31:26: error: 'n' was not declared in this scope
         for(LL i=0; i<=k/n; i++){
                          ^
0_0_30422875_3253.cpp:33:17: error: 'ans' was not declared in this scope
                 ans = (ans + mod - C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                 ^
0_0_30422875_3253.cpp:33:30: error: 'mod' was not declared in this scope
                 ans = (ans + mod - C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                              ^
0_0_30422875_3253.cpp:33:38: error: 'm' was not declared in this scope
                 ans = (ans + mod - C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                                      ^
0_0_30422875_3253.cpp:33:42: error: 'C' was not declared in this scope
                 ans = (ans + mod - C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                                          ^
0_0_30422875_3253.cpp:35:17: error: 'ans' was not declared in this scope
                 ans = (ans + mod + C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                 ^
0_0_30422875_3253.cpp:35:30: error: 'mod' was not declared in this scope
                 ans = (ans + mod + C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                              ^
0_0_30422875_3253.cpp:35:38: error: 'm' was not declared in this scope
                 ans = (ans + mod + C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                                      ^
0_0_30422875_3253.cpp:35:42: error: 'C' was not declared in this scope
                 ans = (ans + mod + C(m, i) * C(k - n * i + m - 1,m - 1) % mod) % mod;
                                          ^
0_0_30422875_3253.cpp:38:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans % mod);
                         ^
0_0_30422875_3253.cpp:38:31: error: 'mod' was not declared in this scope
         printf("%lld\n",ans % mod);
                               ^


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-10-07 00:05:03, Gzip enabled