Submission #93217

#TimeUsernameProblemLanguageResultExecution timeMemory
93217losmi247Nadan (COCI18_nadan)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

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;
   ^