174002025-07-15 10:49:36algoproMicimackó (40 pont)cpp17Forditási hiba
// UUID: f5699e51-8530-4c28-b727-4ef62b5fbe54
#include <bits/stdc++.h>
using namespace std;

int main() {
    int x;
    int y;
    int k;
    int n;
    cin >> y >>x >> k >> n;
    if (k+n-x!=0){
        cout<<k+n-x
    }
    else {
        cout<<""
    }
}
Forditási hiba
open /var/local/lib/isolate/436/box/a.out: no such file or directory
main.cpp: In function 'int main()':
main.cpp:12:20: error: expected ';' before '}' token
   12 |         cout<<k+n-x
      |                    ^
      |                    ;
   13 |     }
      |     ~               
main.cpp:15:17: error: expected ';' before '}' token
   15 |         cout<<""
      |                 ^
      |                 ;
   16 |     }
      |     ~