內容 :
承 a004,珊珊終於學成歸國了,文文的考驗時刻也到了。走出了迎客大廳,珊珊問:「What type of year was I born in?」文文很有自信的回答:「閏年!」可是珊珊卻說:「No, It was a LEAP YEAR!」看來文文要娶到珊珊,還得先把英文練一練。
17 00
Off School
/**********************************************************************************/
/* Problem: d066 "上學去吧!" from 板橋高中 */
/* Language: C */
/* Result: AC (2ms, 249KB) on ZeroJudge */
/* Author: diiuuli520 at 2009-04-03 23:57:19 */
/**********************************************************************************/
#include
#include
int main(void)
{
int a,b;
while(scanf("%d%d",&a,&b)!=EOF)
if(a>=17||(a==7 && b<30)||a<7 )
printf("Off School");
else
printf("At School");
return(0);
}
7
3
/**********************************************************************************/
/* Problem: d073 "分組報告" from 板橋高中 */
/* Language: C */
/* Result: AC (4ms, 262KB) on ZeroJudge */
/* Author: diiuuli520 at 2009-04-04 00:22:02 */
/**********************************************************************************/
#include
#include
int main(void)
{
int a;
while(scanf("%d",&a)!=EOF)
if(a%3==0)
printf("%d",a/3);
else
printf("%d",a/3+1);
return(0);
}