235272026-01-24 11:53:53BoldizsárOszthatóság 17-tel (60 pont)cpp17Compilation error
include <bits/stdc++.h>
using namespace std;

int main() {
	long long n;cin >> n;int db = 0;
    if(n % 17 == 0) cout  << "IGEN" << "\n";
    else cout << "NO" << "\n";
    while(n/10-(n%10)*5 > 0){
        long long egyik = n/10;
        long long masik = (n%10)*5;
        n = egyik-masik;cout << n<<" ";db++;
    }
    if(db == 0 && n % 17 == 0){cout << 0;}
}
Compilation error
open /var/local/lib/isolate/424/box/a.out: no such file or directory
main.cpp:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:5:21: error: 'cin' was not declared in this scope
    5 |         long long n;cin >> n;int db = 0;
      |                     ^~~
main.cpp:6:21: error: 'cout' was not declared in this scope
    6 |     if(n % 17 == 0) cout  << "IGEN" << "\n";
      |                     ^~~~
main.cpp:7:10: error: 'cout' was not declared in this scope
    7 |     else cout << "NO" << "\n";
      |          ^~~~
main.cpp:11:25: error: 'cout' was not declared in this scope
   11 |         n = egyik-masik;cout << n<<" ";db++;
      |                         ^~~~
main.cpp:13:32: error: 'cout' was not declared in this scope
   13 |     if(db == 0 && n % 17 == 0){cout << 0;}
      |                                ^~~~