12rh2 회전 초밥 / tlsdydaud1 | |||||||||||||||||||||||
|
판정 세부 내용 |
---|
케이스 # | 소요시간 | 메모리 | 판정 | |
001 | 0ms | 458.752kB | OK | |
002 | 0ms | 454.656kB | OK | |
003 | 1ms | 454.656kB | OK | |
004 | 2ms | 454.656kB | OK | |
005 | 3ms | 454.656kB | OK | |
006 | 28ms | 1499.136kB | OK | |
007 | 145ms | 6291.456kB | OK | |
008 | 275ms | 12296.192kB | OK | |
009 | 295ms | 12300.288kB | OK | |
010 | 292ms | 12300.288kB | OK | |
컴파일 결과 |
---|
1:1: warning: data definition has no type or storage class | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
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,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:5: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:7: warning: type defaults to 'int' in declaration of 'u' [-Wimplicit-int] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:9: warning: type defaults to 'int' in declaration of 's' [-Wimplicit-int] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:19: warning: multi-character character constant [-Wmultichar] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:17: warning: type defaults to 'int' in declaration of 't' [-Wimplicit-int] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:26: warning: return type defaults to 'int' [-Wimplicit-int] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
In function 'main': | |
1:26: warning: type of 'c' defaults to 'int' [-Wimplicit-int] | |
1:26: warning: type of 'd' defaults to 'int' [-Wimplicit-int] | |
1:26: warning: type of 'k' defaults to 'int' [-Wimplicit-int] | |
1:26: warning: type of 'n' defaults to 'int' [-Wimplicit-int] | |
1:48: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:48: warning: incompatible implicit declaration of built-in function 'scanf' | |
1:48: note: include '<stdio.h>' or provide a declaration of 'scanf' | |
1:237: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] | |
0,i++)scanf("%d",t+i); for(m=u+=!s[c],s[c]++; j<n-1; j++)s[t[j]]--,m=(u+=!s[t[(j+k)%n]]-!s[t[j]])<m?m:u,s[t[(j+k)%n]]++; printf("%d",m);} | |
1:237: warning: incompatible implicit declaration of built-in function 'printf' | |
1:237: note: include '<stdio.h>' or provide a declaration of 'printf' | |
소스 정적 분석 결과 |
---|
이상 없음 |