답안 #30881

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
30881 2017-07-30T07:28:50 Z shashwatchandra Tarifa (COCI16_tarifa) C++14
0 / 50
0 ms 2020 KB
#include <iostream>
using namespace std;

int main() {
	int mb;
	cin >> mb;
	int months;
	cin >> months;
	int nextmonth = mb;
	for (int i = 0;i < months;i++){
	    int a;
	    cin >> a;
	    nextmonth += 10 - a;
	}
	cout << nextmonth;
	return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 2020 KB Output isn't correct
2 Incorrect 0 ms 2020 KB Output isn't correct
3 Incorrect 0 ms 2020 KB Output isn't correct
4 Incorrect 0 ms 2020 KB Output isn't correct
5 Incorrect 0 ms 2020 KB Output isn't correct
6 Incorrect 0 ms 2020 KB Output isn't correct
7 Incorrect 0 ms 2020 KB Output isn't correct
8 Incorrect 0 ms 2020 KB Output isn't correct
9 Incorrect 0 ms 2020 KB Output isn't correct
10 Incorrect 0 ms 2020 KB Output isn't correct