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_2883039_19178\Main.java:1: 非法字符: \35
#include<iostream>
^
0_0_2883039_19178\Main.java:4: 需要为 class、interface 或 enum
int f(int k,int m,int a0,int a1,int a2,int a3,int a4,int a5,int a6,int a7,int a8,int a9)
^
0_0_2883039_19178\Main.java:7: 需要为 class、interface 或 enum
if(k>=10) return (a0*f(k-1,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a1*f(k-2,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a2*f(k-3,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a3*f(k-4,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a4*f(k-5,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a5*f(k-6,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a6*f(k-7,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a7*f(k-8,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a8*f(k-9,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)+a9*f(k-10,m,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9))%m;      
^
0_0_2883039_19178\Main.java:8: 需要为 class、interface 或 enum
}
^
0_0_2883039_19178\Main.java:13: 需要为 class、interface 或 enum
    while(cin>>k>>m>>a0>>a1>>a2>>a3>>a4>>a5>>a6>>a7>>a8>>a9)
    ^
0_0_2883039_19178\Main.java:16: 需要为 class、interface 或 enum
      }
      ^
0_0_2883039_19178\Main.java:18: 需要为 class、interface 或 enum
      }                                                      
      ^
7 错误


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 11:55:45, Gzip enabled