17nh1 물통 / tlsdydaud1 | |||||||||||||||||||||||
|
판정 세부 내용 |
---|
케이스 # | 소요시간 | 메모리 | 판정 | |
001 | 0ms | 450.56kB | OK | |
002 | 0ms | 454.656kB | OK | |
003 | 0ms | 454.656kB | OK | |
004 | 0ms | 450.56kB | OK | |
005 | 0ms | 454.656kB | OK | |
006 | 0ms | 454.656kB | OK | |
007 | 0ms | 540.672kB | OK | |
008 | 0ms | 1105.92kB | OK | |
009 | 0ms | 1110.016kB | OK | |
010 | 0ms | 454.656kB | OK | |
011 | 0ms | 450.56kB | OK | |
012 | 0ms | 450.56kB | 실행 오류 | |
컴파일 결과 |
---|
1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] | |
2:17: warning: multi-character character constant [-Wmultichar] | |
2:26: warning: multi-character character constant [-Wmultichar] | |
2:35: warning: multi-character character constant [-Wmultichar] | |
2:44: warning: multi-character character constant [-Wmultichar] | |
In function 'void B(int, int, int)': | |
11:101: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] | |
!y?x<b?x^=y^=x^=y:(x-=b,y=b):y<b?x=x+y-b,y=b:x<a-b?x+=b,y=0:(y=x+y-a,x=a):!x|x==a?x=a-x:y=b-y; | |
At global scope: | |
14:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] | |
In function 'int main()': | |
17:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] | |
21:18: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] | |
!d?f[c]:d<b?g[d]:h[c]:2); | |
16:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] | |
소스 정적 분석 결과 |
---|
14: (error) syntax error |
실행 결과 |
---|
-1 |
012번째 입력 데이터 |
---|
2 6 0 3 |