Submission #00075


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
#include<stdio.h>
int main(){
int n,x,y,i,sum;
scanf("%d %d %d",&n,&x,&y);
sum=2*x+y;
char se[n+1],pe[n+1],pp[sum+1];
scanf("%s",se);
for(c=0;c<sum;c++){
if(sum+c>20){
break;
}
for(i=0;i<x;i++){

ステータス

項目 データ
問題 0002 - 川柳 (Humorous Poem)
ユーザー名 ei1615
投稿日時 2016-12-07 18:52:55
言語 C
状態 Compile Error
得点 0
ソースコード長 241 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.c: In function ‘main’:
./Main.c:8:7: error: ‘c’ undeclared (first use in this function)
   for(c=0;c<sum;c++){
       ^
./Main.c:8:7: note: each undeclared identifier is reported only once for each function it appears in
./Main.c:12:3: error: expected declaration or statement at end of input
   for(i=0;i<x;i++){
   ^
./Main.c:12:3: error: expected declaration or statement at end of input
./Main.c:12:3: error: expected declaration or statement at end of input

セット

セット 得点 Cases

テストケース

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