repo.or.cz
/
and.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding some more judges, here and there.
[and.git]
/
NEERC
/
yield
/
yield_re_cpp_crash.cpp
blob
a014cea6a6967286733d21b07695b5c8a0cd5ddc
1
#include <fstream>
2
#include <utility>
3
4
using namespace
std
;
5
6
int
main
() {
7
ifstream
in
(
"yield.in"
);
8
ofstream
out
(
"yield.out"
);
9
pair
<
int
,
int
>
p
;
10
in
>>
p
.
first
>>
p
.
second
;
11
int
sum
=
0
;
12
sum
=
p
.
first
/
sum
;
13
out
<<
sum
<<
endl
;
14
return
0
;
15
}