메뉴 건너뛰기

결과 (전체)

06rh2 영역구하기 / tlsdydaud1

시간메모리제출올바른 답비율
1초64MB3420
58.8%
이번 횟수이번 판정시도한 사람성공한 사람비율
1 올바른 답 2019
95.0%
판정 세부 내용
케이스 # 소요시간 메모리 판정
0010ms450.56kBOK
0020ms450.56kBOK
0030ms450.56kBOK
0040ms454.656kBOK
0050ms454.656kBOK
0060ms454.656kBOK
0070ms454.656kBOK
0080ms454.656kBOK
0090ms450.56kBOK
0100ms454.656kBOK

컴파일 결과
1:1: warning: data definition has no type or storage class
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:1: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
1:3: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:5: warning: type defaults to 'int' in declaration of 'l' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:7: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:9: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:11: warning: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:13: warning: type defaults to 'int' in declaration of 'G' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:21: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:29: warning: return type defaults to 'int' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
In function 'B':
1:29: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
1:42: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:56: warning: 'return' with no value, in function returning non-void
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
At top level:
1:145: warning: return type defaults to 'int' [-Wimplicit-int]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
In function 'main':
1:145: warning: type of 'a' defaults to 'int' [-Wimplicit-int]
1:145: warning: type of 'b' defaults to 'int' [-Wimplicit-int]
1:145: warning: type of 'c' defaults to 'int' [-Wimplicit-int]
1:145: warning: type of 'd' defaults to 'int' [-Wimplicit-int]
1:145: warning: type of 'k' defaults to 'int' [-Wimplicit-int]
1:169: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:169: warning: incompatible implicit declaration of built-in function 'scanf'
1:169: note: include '<stdio.h>' or provide a declaration of 'scanf'
1:332: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
0; for(k=1,printf("%d\n",l); k<m*n;)H[k]?printf("%d ",k),H[k]--:k++;}
1:332: warning: incompatible implicit declaration of built-in function 'printf'
1:332: note: include '<stdio.h>' or provide a declaration of 'printf'
소스 정적 분석 결과
1: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
위로