0_0_28403386_28978.c: In function 'asd':
0_0_28403386_28978.c:4:2: error: stray '#' in program
return year%400==0||(year%4==0&&year%100!=0);
^
0_0_28403386_28978.c:4:1: error: lvalue required as unary '&' operand
return year%400==0||(year%4==0&&year%100!=0);
^
0_0_28403386_28978.c:4:8: error: stray '#' in program
return year%400==0||(year%4==0&&year%100!=0);
^
0_0_28403386_28978.c:4:7: error: lvalue required as unary '&' operand
return year%400==0||(year%4==0&&year%100!=0);
^
0_0_28403386_28978.c:4:14: error: stray '#' in program
return year%400==0||(year%4==0&&year%100!=0);
^
0_0_28403386_28978.c:4:13: error: lvalue required as unary '&' operand
return year%400==0||(year%4==0&&year%100!=0);
^
0_0_28403386_28978.c: In function 'main':
0_0_28403386_28978.c:8:2: error: stray '#' in program
int n;
^
0_0_28403386_28978.c:8:1: error: lvalue required as unary '&' operand
int n;
^
0_0_28403386_28978.c:8:8: error: stray '#' in program
int n;
^
0_0_28403386_28978.c:8:7: error: lvalue required as unary '&' operand
int n;
^
0_0_28403386_28978.c:8:14: error: stray '#' in program
int n;
^
0_0_28403386_28978.c:8:13: error: lvalue required as unary '&' operand
int n;
^
0_0_28403386_28978.c:9:2: error: stray '#' in program
scanf("%d",&n);
^
0_0_28403386_28978.c:9:1: error: lvalue required as unary '&' operand
scanf("%d",&n);
^
0_0_28403386_28978.c:9:8: error: stray '#' in program
scanf("%d",&n);
^
0_0_28403386_28978.c:9:7: error: lvalue required as unary '&' operand
scanf("%d",&n);
^
0_0_28403386_28978.c:9:14: error: stray '#' in program
scanf("%d",&n);
^
0_0_28403386_28978.c:9:13: error: lvalue required as unary '&' operand
scanf("%d",&n);
^
0_0_28403386_28978.c:10:2: error: stray '#' in program
while(n--){
^
0_0_28403386_28978.c:10:1: error: lvalue required as unary '&' operand
while(n--){
^
0_0_28403386_28978.c:10:8: error: stray '#' in program
while(n--){
^
0_0_28403386_28978.c:10:7: error: lvalue required as unary '&' operand
while(n--){
^
0_0_28403386_28978.c:10:14: error: stray '#' in program
while(n--){
^
0_0_28403386_28978.c:10:13: error: lvalue required as unary '&' operand
while(n--){
^
0_0_28403386_28978.c:11:2: error: stray '#' in program
int year,month,day,i,sum=0;
^
0_0_28403386_28978.c:11:1: error: lvalue required as unary '&' operand
int year,month,day,i,sum=0;
^
0_0_28403386_28978.c:11:8: error: stray '#' in program
int year,month,day,i,sum=0;
^
0_0_28403386_28978.c:11:7: error: lvalue required as unary '&' operand
int year,month,day,i,sum=0;
^
0_0_28403386_28978.c:11:14: error: stray '#' in program
int year,month,day,i,sum=0;
^
0_0_28403386_28978.c:11:13: error: lvalue required as unary '&' operand
int year,month,day,i,sum=0;
^
0_0_28403386_28978.c:12:2: error: stray '#' in program
scanf("%d-%d-%d",&year,&month,&day);
^
0_0_28403386_28978.c:12:1: error: lvalue required as unary '&' operand
scanf("%d-%d-%d",&year,&month,&day);
^
0_0_28403386_28978.c:12:8: error: stray '#' in program
scanf("%d-%d-%d",&year,&month,&day);
^
0_0_28403386_28978.c:12:7: error: lvalue required as unary '&' operand
scanf("%d-%d-%d",&year,&month,&day);
^
0_0_28403386_28978.c:12:14: error: stray '#' in program
scanf("%d-%d-%d",&year,&month,&day);
^
0_0_28403386_28978.c:12:13: error: lvalue required as unary '&' operand
scanf("%d-%d-%d",&year,&month,&day);
^
0_0_28403386_28978.c:13:2: error: stray '#' in program
if(month==2&&day==29){
^
0_0_28403386_28978.c:13:1: error: lvalue required as unary '&' operand
if(month==2&&day==29){
^
0_0_28403386_28978.c:13:8: error: stray '#' in program
if(month==2&&day==29){
^
0_0_28403386_28978.c:13:7: error: lvalue required as unary '&' operand
if(month==2&&day==29){
^
0_0_28403386_28978.c:13:14: error: stray '#' in program
if(month==2&&day==29){
^
0_0_28403386_28978.c:13:13: error: lvalue required as unary '&' operand
if(month==2&&day==29){
^
0_0_28403386_28978.c:14:2: error: stray '#' in program
printf("-1\n");
^
0_0_28403386_28978.c:14:1: error: lvalue required as unary '&' operand
printf("-1\n");
^
0_0_28403386_28978.c:14:8: error: stray '#' in program
printf("-1\n");
^
0_0_28403386_28978.c:14:7: error: lvalue required as unary '&' operand
printf("-1\n");
^
0_0_28403386_28978.c:14:14: error: stray '#' in program
printf("-1\n");
^
0_0_28403386_28978.c:14:13: error: lvalue required as unary '&' operand
printf("-1\n");
^
0_0_28403386_28978.c:15:2: error: stray '#' in program
continue;
^
0_0_28403386_28978.c:15:1: error: lvalue required as unary '&' operand
continue;
^
0_0_28403386_28978.c:15:8: error: stray '#' in program
continue;
^
0_0_28403386_28978.c:15:7: error: lvalue required as unary '&' operand
continue;
^
0_0_28403386_28978.c:15:14: error: stray '#' in program
continue;
^
0_0_28403386_28978.c:15:13: error: lvalue required as unary '&' operand
continue;
^
0_0_28403386_28978.c:16:2: error: stray '#' in program
}
^
0_0_28403386_28978.c:16:1: error: lvalue required as unary '&' operand
}
^
0_0_28403386_28978.c:16:8: error: stray '#' in program
}
^
0_0_28403386_28978.c:16:7: error: lvalue required as unary '&' operand
}
^
0_0_28403386_28978.c:17:2: error: stray '#' in program
if(month>2)year++;
^
0_0_28403386_28978.c:17:1: error: lvalue required as unary '&' operand
if(month>2)year++;
^
0_0_28403386_28978.c:17:8: error: stray '#' in program
if(month>2)year++;
^
0_0_28403386_28978.c:17:7: error: lvalue required as unary '&' operand
if(month>2)year++;
^
0_0_28403386_28978.c:17:14: error: stray '#' in program
if(month>2)year++;
^
0_0_28403386_28978.c:17:13: error: lvalue required as unary '&' operand
if(month>2)year++;
^
0_0_28403386_28978.c:18:2: error: stray '#' in program
for(i=0;i<18;i++){
^
0_0_28403386_28978.c:18:1: error: lvalue required as unary '&' operand
for(i=0;i<18;i++){
^
0_0_28403386_28978.c:18:8: error: stray '#' in program
for(i=0;i<18;i++){
^
0_0_28403386_28978.c:18:7: error: lvalue required as unary '&' operand
for(i=0;i<18;i++){
^
0_0_28403386_28978.c:18:14: error: stray '#' in program
for(i=0;i<18;i++){
^
0_0_28403386_28978.c:18:13: error: lvalue required as unary '&' operand
for(i=0;i<18;i++){
^
0_0_28403386_28978.c:19:2: error: stray '#' in program
if(asd(year+i))
^
0_0_28403386_28978.c:19:1: error: lvalue required as unary '&' operand
if(asd(year+i))
^
0_0_28403386_28978.c:19:8: error: stray '#' in program
if(asd(year+i))
^
0_0_28403386_28978.c:19:7: error: lvalue required as unary '&' operand
if(asd(year+i))
^
0_0_28403386_28978.c:19:14: error: stray '#' in program
if(asd(year+i))
^
0_0_28403386_28978.c:19:13: error: lvalue required as unary '&' operand
if(asd(year+i))
^
0_0_28403386_28978.c:19:20: error: stray '#' in program
if(asd(year+i))
^
0_0_28403386_28978.c:19:19: error: lvalue required as unary '&' operand
if(asd(year+i))
^
0_0_28403386_28978.c:20:2: error: stray '#' in program
sum+=366;
^
0_0_28403386_28978.c:20:1: error: lvalue required as unary '&' operand
sum+=366;
^
0_0_28403386_28978.c:20:8: error: stray '#' in program
sum+=366;
^
0_0_28403386_28978.c:20:7: error: lvalue required as unary '&' operand
sum+=366;
^
0_0_28403386_2
|