Borderou de evaluare (job #2262737)
Utilizator | Data | 17 octombrie 2018 19:34:22 | |
---|---|---|---|
Problema | Permutari | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:17: warning: character constant too long for its type
:g_mesaj := ' INVAt PL/SQL';
^~~~~~~~~~~~~~~
main.cpp:23:16: warning: character constant too long for its type
V_MESAJ := 'INVAT PL/SQL';
^~~~~~~~~~~~~~
main.cpp:40:26: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('DEPARTAMENTUL CU CEI MAI MULTI ANGAJATI ESTE' || V_DEP_NAME);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:67:26: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('DEPARTAMENTUL CU CEI MAI MULTI ANGAJATI ESTE ' || V_DEP_NAME);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:68:26: warning: multi-character character constant [-Wmultichar]
DBMS_OUTPUT.PUT_LINE('ARE ' || V_DEP_EMP || ' ANGAJATI');
^~~~~~
main.cpp:68:49: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('ARE ' || V_DEP_EMP || ' ANGAJATI');
^~~~~~~~~~~
main.cpp:89:26: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('SALARIUL ESTE ' || V_SALARIU_ANUAL);
^~~~~~~~~~~~~~~~
main.cpp:90:26: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('BONUSUL ESTE ' || V_BONUS);
^~~~~~~~~~~~~~~
main.cpp:112:26: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('SALARIUL ESTE ' || V_SALARIU_ANUAL);
^~~~~~~~~~~~~~~~
main.cpp:113:26: warning: character constant too long for its type
DBMS_OUTPUT.PUT_LINE('BONUSUL ESTE ' || V_BONUS);
^~~~~~~~~~~~~~~
main.cpp:1:1: error: expected unqualified-id before '--' token
--LAB 1--
^~
main.cpp:7:5: error: found ':' in nested-name-specifier, expected '::'
:g_mesaj := ' INVAt PL/SQL';
^
main.cpp:6:1: error: 'BEGIN' does not name a type
BEGIN
^~~~~
main.cpp:10:1: error: 'END' does not name a type
END;
^~~
main.cpp:11:1: error: expected unqualified-id before '/' token
/
^
main.cpp:15:1: error: expected unqualified-id before '--' token
--B--
^~
main.cpp:18:1: error: 'DECLARE' does not name a type
DECLARE
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !