Submission #30881

#TimeUsernameProblemLanguageResultExecution timeMemory
30881shashwatchandraTarifa (COCI16_tarifa)C++14
0 / 50
0 ms2020 KiB
#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; }
#Verdict Execution timeMemoryGrader output
Fetching results...