Language: C++

AIZU ONLINE JUDGE
PAGETOP
??
???????????????
??
??????????????°
??
???????????????
??
???????????????
??
?????????
??
??
?????°??¢??????
??????????¨????
??\??¬??? ?? ??±??? 
My Status
?????????????????????????????
HOME- 
Notes 
#1599446 
Solution for 0610: Weather Forecaster by rainkouta
?????????????????? ??????????????? ???????????±?????? 
?????? ??¢?????????: public ?????? ?????§??°: 21 ?????? 
00.00 sec ??????612 KB ??????30 lines ?????? 367 bytes ??????2015-12-02 17:57 
?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include<stdio.h>
int main()
{
????????int H,W,a,b,c=-1,d=0,e,f,g;
????????char HW[101][101];
????????scanf("%d %d",&H,&W);
????????????????for(b=0;b<H;b++){
????????scanf("%s",&HW[b]);
????????}
????????for(a=0;a<H;a++){
????????????????for(b=0;b<W;b++){
????????????????????????if(HW[a][b]=='c'){
????????????????????????????????c=0;
????????????????????????????????d=1;
????????????????????????}
????????????????????????printf("%d",c);
????????????????????????if(d==1)
????????????????????????c++;
????????????????????????if(W-1==b){
????????????????????????printf("\n");
????????????????????????c=-1;
????????????????????????d=0;
????????????????????????}
????????????????????????else
????????????????????????printf(" ");
????????????????}
????????}
????????return 0;
}
Compile Error Logs:
You are not authorized to see the message. 

???????????????
Judge: 7/7 
C 
CPU: 00.00 sec 
Memory: 612 KB 
Length: 367 B 
2015-12-02 17:57 
2015-12-02 17:57 
???????????±?????????????????????
Case #
Verdict
CPU Time
Memory
In
Out
Case Name
Case #1:
: Accepted 
00.00 sec
604 KB
19 B
30 B
2015-yo-t3-in_s1.txt
Case #2:
: Accepted 
00.00 sec
604 KB
58 B
116 B
2015-yo-t3-in_s2.txt
Case #3:
: Accepted 
00.00 sec
608 KB
321 B
654 B
2015-yo-t3-in1.txt
Case #4:
: Accepted 
00.00 sec
612 KB
3306 B
7021 B
2015-yo-t3-in2.txt
Case #5:
: Accepted 
00.00 sec
612 KB
9414 B
18737 B
2015-yo-t3-in3.txt
Case #6:
: Accepted 
00.00 sec
612 KB
10006 B
19854 B
2015-yo-t3-in4.txt
Case #7:
: Accepted 
00.00 sec
612 KB
10108 B
23965 B
2015-yo-t3-in5.txt
< prev |
1
/ 
7
| next > 
??

??: Accepted ???????????? 00.00 sec ???????????? 604 KB
??
Judge Input #1 ( in1.txt | 19 B)

Judge Output #1 ( out1.txt | 30 B)
3 4
c..c
..c.
....

0 1 2 0
-1 -1 0 1
-1 -1 -1 -1
Comments
??
????\????????§?????? 
??
Categories
??

??
Free Tags
??

??

??



????
 
??

Aizu Online Judge
follow us on Twitter


About us 
ContactSystem InfoThe University of AizuUniv. of Aizu Competitive Programming Club
Tools 
WEB Board ToolsVirtual ArenaAPI ReferenceTutorial
Links 
ACM/ICPCACM/ICPC Asia JapanACM-ICPC OB/OG Alumni GroupPC KoshienJOI
AtCoderTopCoderCodeForces
Uva Online judgesACM-ICPC Live ArchivePKU JudgeOnline 
Aizu IT Arena 
Best viewed using Firefox, Google Chrome
Aizu Online Judge Version 1.0 ?? 2004 - 2016 Univ. of Aizu Competitive Programming Club (ICPCPC), Database Systems Lab. University of Aizu
??

Compiler output:
a.cc:6:15: error: extended character ° is not valid in an identifier
    6 | ??????????????°
      |               ^
a.cc:15:6: error: extended character ° is not valid in an identifier
   15 | ?????°??¢??????
      |      ^
a.cc:15:9: error: extended character ¢ is not valid in an identifier
   15 | ?????°??¢??????
      |         ^
a.cc:17:3: error: stray '\' in program
   17 | ??\??¬??? ?? ??±???
      |   ^
a.cc:17:6: error: extended character ¬ is not valid in an identifier
   17 | ??\??¬??? ?? ??±???
      |      ^
a.cc:17:16: error: extended character ± is not valid in an identifier
   17 | ??\??¬??? ?? ??±???
      |                ^
a.cc:1599447:47: error: extended character ± is not valid in an identifier
a.cc:1599448:10: error: extended character ¢ is not valid in an identifier
a.cc:1599448:42: error: extended character § is not valid in an identifier
a.cc:1599448:46: error: extended character ° is not valid in an identifier
a.cc:1599520:12: error: extended character ± is not valid in an identifier
a.cc:1599521:6: error: stray '#' in program
a.cc:1599528:6: error: stray '#' in program
a.cc:1599535:6: error: stray '#' in program
a.cc:1599542:6: error: stray '#' in program
a.cc:1599549:6: error: stray '#' in program
a.cc:1599556:6: error: stray '#' in program
a.cc:1599563:6: error: stray '#' in program
a.cc:1599570:6: error: stray '#' in program
a.cc:1599586:13: error: stray '#' in program
a.cc:1599588:14: error: stray '#' in program
a.cc:1599599:5: error: stray '\' in program
a.cc:1599599:14: error: extended character § is not valid in an identifier
a.cc:1:1: error: 'AIZU' does not name a type
    1 | AIZU ONLINE JUDGE
      | ^~~~
a.cc: In function 'int main()':
a.cc:1599483:1: error: expected primary-expression before '?' token
a.cc:1599483:2: error: expected primary-expression before '?' token
a.cc:1599483:3: error: expected primary-expression before '?' token
a.cc:1599483:4: error: expected primary-expression before '?' token
a.cc:1599483:5: error: expected primary-expression before '?' token
a.cc:1599483:6: error: expected primary-expression before '?' token
a.cc:1599483:7: error: expected primary-expression before '?' token
a.cc:1599483:8: error: expected primary-expression before '?' token
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599483:9: error: expected ':' before 'int'
a.cc:1599483:9: error: expected primary-expression before 'int'
a.cc:1599484:1: error: expected primary-expression before '?' token
a.cc:1599484:2: error: expected primary-expression before '?' token
a.cc:1599484:3: error: expected primary-expression before '?' token
a.cc:1599484:4: error: expected primary-expression before '?' token
a.cc:1599484:5: error: expected primary-expression before '?' token
a.cc:1599484:6: error: expected primary-expression before '?' token
a.cc:1599484:7: error: expected primary-expression before '?' token
a.cc:1599484:8: error: expected primary-expression before '?' token
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599484:9: error: expected ':' before 'char'
a.cc:1599484:9: error: expected primary-expression before 'char'
a.cc:1599485:1: error: expected primary-expression before '?' token
a.cc:1599485:2: error: expected primary-expression before '?' token
a.cc:1599485:3: error: expected primary-expression before '?' token
a.cc:1599485:4: error: expected primary-expression before '?' token
a.cc:1599485:5: error: expected primary-expression before '?' token
a.cc:1599485:6: error: expected primary-expression before '?' token
a.cc:1599485:7: error: expected primary-expression before '?' token
a.cc:1599485:8: error: expected primary-expression before '?' token
a.cc:1599485:24: error: 'H' was not declared in this scope
a.cc:1599485:27: error: 'W' was not declared in this scope
a.cc:1599485:9: error: 'scanf' was not declared in this scope
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599485:29: error: expected ':' before ';' token
a.cc:1599485:29: error: expected primary-expression before ';' token
a.cc:1599486:1: error: expected primary-expression before '?' token
a.cc:1599486:2: error: expected primary-expression before '?' token
a.cc:1599486:3: error: expected primary-expression before '?' token
a.cc:1599486:4: error: expected primary-expression before '?' token
a.cc:1599486:5: error: expected primary-expression before '?' token
a.cc:1599486:6: error: expected primary-expression before '?' token
a.cc:1599486:7: error: expected primary-expression before '?' token
a.cc:1599486:8: error: expected primary-expression before '?' token
a.cc:1599486:9: error: expected primary-expression before '?' token
a.cc:1599486:10: error: expected primary-expression before '?' token
a.cc:1599486:11: error: expected primary-expression before '?' token
a.cc:1599486:12: error: expected primary-expression before '?' token
a.cc:1599486:13: error: expected primary-expression before '?' token
a.cc:1599486:14: error: expected primary-expression before '?' token
a.cc:1599486:15: error: expected primary-expression before '?' token
a.cc:1599486:16: error: expected primary-expression before '?' token
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:17: error: expected ':' before 'for'
a.cc:1599486:17: error: expected primary-expression before 'for'
a.cc:1599486:25: error: 'b' was not declared in this scope
a.cc:1599489:1: error: expected primary-expression before '?' token
a.cc:1599489:2: error: expected primary-expression before '?' token
a.cc:1599489:3: error: expected primary-expression before '?' token
a.cc:1599489:4: error: expected primary-expression before '?' token
a.cc:1599489:5: error: expected primary-expression before '?' token
a.cc:1599489:6: error: expected primary-expression before '?' token
a.cc:1599489:7: error: expected primary-expression before '?' token
a.cc:1599489:8: error: expected primary-expression before '?' token
a.cc:1599489:9: error: expected primary-expression before 'for'
a.cc:1599489:9: error: expected ':' before 'for'
a.cc:1599489:9: error: expected primary-expression b