MinhCrafter
Số kỳ thi:
14
Min. rating:
1470
Max rating:
1867
Rating
1646
Bài tập
299
Điểm
38853
Rating
563
Điểm
36
Nguyễn Ngọc Minh, Đà Nẵng (THPT Chuyên Lê Quý Đôn, Đà Nẵng)
Giới thiệu
C++
int fun = 0;
cin >> problem;
if (problem.type == "Math") {
fun++;
if (problem.solution == "Matrix Multiplication") fun += 69;
}
if (problem.type == "Data Structure") {
fun--;
if (problem.solution == "Tree") fun = -1;
}
if (fun < 0) cout << "Why didn't my code work?";
else cout << "Why did my code work?";
Các lần thi
, #