Borderou de evaluare (job #2288025)
Utilizator | Data | 22 noiembrie 2018 19:29:16 | |
---|---|---|---|
Problema | Sume | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:1:1: error: unknown type name 'SET'
SET SERVEROUTPUT ON;
^~~
main.c:1:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ON'
SET SERVEROUTPUT ON;
^~
main.c:3:1: error: expected identifier or '(' before '--' token
--8--
^~
main.c:7:2: error: unknown type name 'V_NR'
V_NR NUMBER;
^~~~
main.c:8:2: error: unknown type name 'V_X'
V_X NUMBER := &P_X;
^~~
main.c:8:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
V_X NUMBER := &P_X;
^
main.c:9:2: error: unknown type name 'CURSOR'
CURSOR C(NR_ANG NUMBER) IS
^~~~~~
main.c:9:11: error: unknown type name 'NR_ANG'
CURSOR C(NR_ANG NUMBER) IS
^~~~~~
main.c:14:1: error: unknown type name 'BEGIN'
BEGIN
^~~~~
main.c:15:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'C'
OPEN C(V_X);
^
main.c:16:2: error: unknown type name 'LOOP'
LOOP
^~~~
main.c:17:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'C'
FETCH C INTO V_NAME, V_NR;
^
main.c:17:9: error: unknown type name 'C'
main.c:18:3: error: unknown type name 'EXIT'
EXIT WHEN C%NOTFOUND;
^~~~
main.c:18:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'C'
EXIT WHEN C%NOTFOUND;
^
main.c:19:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
DBMS_OUTPUT.PUT_LINE('IN DEPARTAMENTUL ' || V_NAME || ' LUCREAZA ' || V_NR || ' ANGAJATI');
^
main.c:19:24: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('IN DEPARTAMENTUL ' || V_NAME || ' LUCREAZA ' || V_NR || ' ANGAJATI');
^~~~~~~~~~~~~~~~~~~
main.c:19:57: warning: character constant too long for its type
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !