Submission #00297


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include<stdio.h>
int main(){
int B,H,N,i,ans,c;
N>2;
0<=B,H<=10000;
2<=N<=100;
scanf("%d %d %d",&B,&H,&N);
i=0;
c=0;
ans=B*H/2;
while(i<N){
c=c+ans;
i++;
}
printf("%d\n",c);
return(

ステータス

項目 データ
問題 0001 - 妹の企み
ユーザー名 ei1736
投稿日時 2017-04-28 17:47:46
言語 C
状態 Compile Error
得点 0
ソースコード長 229 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.c: In function ‘main’:
./Main.c:16:3: error: expected expression at end of input
   return(
   ^
./Main.c:16:3: error: expected declaration or statement at end of input

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #