Submission #93217

# Submission time Handle Problem Language Result Execution time Memory
93217 2019-01-07T09:52:12 Z losmi247 Nadan (COCI18_nadan) C++17
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
   ll n,k;
   cin >> k >> n;
   for(long i = 1; i < n; i++){
       cout << i << endl;
   }
  cout << k-n*(n-1)/2 << endl;
}

Compilation message

nadan.cpp:5:2: error: stray '\302' in program
    ll n,k;
  ^
nadan.cpp:5:3: error: stray '\240' in program
    ll n,k;
   ^
nadan.cpp:6:2: error: stray '\302' in program
    cin >> k >> n;
  ^
nadan.cpp:6:3: error: stray '\240' in program
    cin >> k >> n;
   ^
nadan.cpp:7:2: error: stray '\302' in program
    for(long i = 1; i < n; i++){
  ^
nadan.cpp:7:3: error: stray '\240' in program
    for(long i = 1; i < n; i++){
   ^
nadan.cpp:8:2: error: stray '\302' in program
        cout << i << endl;
  ^
nadan.cpp:8:3: error: stray '\240' in program
        cout << i << endl;
   ^
nadan.cpp:8:5: error: stray '\302' in program
        cout << i << endl;
     ^
nadan.cpp:8:6: error: stray '\240' in program
        cout << i << endl;
      ^
nadan.cpp:8:8: error: stray '\302' in program
        cout << i << endl;
        ^
nadan.cpp:8:9: error: stray '\240' in program
        cout << i << endl;
         ^
nadan.cpp:9:2: error: stray '\302' in program
    }
  ^
nadan.cpp:9:3: error: stray '\240' in program
    }
   ^
nadan.cpp:10:2: error: stray '\302' in program
   cout << k-n*(n-1)/2 << endl;
  ^
nadan.cpp:10:3: error: stray '\240' in program
   cout << k-n*(n-1)/2 << endl;
   ^