Language: C++

#include<iostream>
using namespace std;
int main ()
{
    long long coin = 0;
    int ki,ic1,ic2;
    int min;
    int n,m;
    int sum,big;
    long cum[100001];
    long suu[100001];
    cin >> n >> m >> cum[1];
    for(int i=2;i<m;i++)
    {
        cin >> cum[i]];
        if(cum[i]<cum[i-1])
        {
        	sum=cum[i];
        ????????? big=cum[i-1];
        }
        else
        {
        	sum=cum[i-1];
         ?????????big=cum[i];
         }
        while(sum<big)
        {
        	suu[sum]++;
         ?????????sum++;
         }
    }
    for(int i=1;i<n;i++)
    {
        cin >> ki >> ic1 >> ic2;
        min = ki*suu[i];
        if(min>ic2+ic1*suu[i])
        {min=ic2+ic1*suu[i]}
        coin+=min;
    }
    cout << coin;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:22: error: expected ';' before ']' token
   15 |         cin >> cum[i]];
      |                      ^
      |                      ;
a.cc:19:9: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |         ^
a.cc:19:10: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |          ^
a.cc:19:11: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |           ^
a.cc:19:12: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |            ^
a.cc:19:13: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |             ^
a.cc:19:14: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |              ^
a.cc:19:15: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |               ^
a.cc:19:16: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |                ^
a.cc:19:17: error: expected primary-expression before '?' token
   19 |         ????????? big=cum[i-1];
      |                 ^
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:19:31: error: expected ':' before ';' token
   19 |         ????????? big=cum[i-1];
      |                               ^
      |                               :
a.cc:19:31: error: expected primary-expression before ';' token
a.cc:24:10: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |          ^
a.cc:24:11: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |           ^
a.cc:24:12: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |            ^
a.cc:24:13: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |             ^
a.cc:24:14: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |              ^
a.cc:24:15: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |               ^
a.cc:24:16: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |                ^
a.cc:24:17: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |                 ^
a.cc:24:18: error: expected primary-expression before '?' token
   24 |          ?????????big=cum[i];
      |                  ^
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:24:29: error: expected ':' before ';' token
   24 |          ?????????big=cum[i];
      |                             ^
      |                             :
a.cc:24:29: error: expected primary-expression before ';' token
a.cc:29:10: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |          ^
a.cc:29:11: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |           ^
a.cc:29:12: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |            ^
a.cc:29:13: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |             ^
a.cc:29:14: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |              ^
a.cc:29:15: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |               ^
a.cc:29:16: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |                ^
a.cc:29:17: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |                 ^
a.cc:29:18: error: expected primary-expression before '?' token
   29 |          ?????????sum++;
      |                  ^
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:29:24: error: expected ':' before ';' token
   29 |          ?????????sum++;
      |                        ^
      |                        :
a.cc:29:24: error: expected primary-expression before ';' token
a.cc:37:28: error: expected ';' before '}' token
   37 |         {min=ic2+ic1*suu[i]}
      |                            ^
      |                            ;