Borderou de evaluare (job #2945862)

Utilizator DafinaTrufasTrufas Dafina DafinaTrufas Data 24 noiembrie 2022 11:15:46
Problema Online Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:3: error: invalid preprocessing directive #We 3 | # We will reformat comments using a state-machine approach. | ^~ main.cpp:4:3: error: invalid preprocessing directive #Initially 4 | # Initially, we are in state 0. | ^~~~~~~~~ main.cpp:5:3: error: invalid preprocessing directive #If; did you mean #if? 5 | # If the current line is not the beginning of a comment, just print it and loop in the current state | ^~ | if main.cpp:7:4: error: stray '\' in program 7 | !/^\s*\(\*\*$/ { | ^ main.cpp:7:7: error: stray '\' in program 7 | !/^\s*\(\*\*$/ { | ^ main.cpp:7:9: error: stray '\' in program 7 | !/^\s*\(\*\*$/ { | ^ main.cpp:7:11: error: stray '\' in program 7 | !/^\s*\(\*\*$/ { | ^ main.cpp:11:2: error: invalid preprocessing directive #If; did you mean #if? 11 | #If the current line is the beginning of a comment, move to state 1, and save the current line | ^~ | if main.cpp:13:3: error: stray '\' in program 13 | /^\s*\(\*\*$/ { | ^ main.cpp:13:6: error: stray '\' in program 13 | /^\s*\(\*\*$/ { | ^ main.cpp:13:8: error: stray '\' in program 13 | /^\s*\(\*\*$/ { | ^ main.cpp:13:10: error: stray '\' in program 13 | /^\s*\(\*\*$/ { | ^ main.cpp:20:3: error: invalid preprocessing directive #If; did you mean #if? 20 | # If the current line is the end of an one-line comment, trim the comment-line, join the comment on | ^~ | if main.cpp:21:3: error: invalid preprocessing directive #a 21 | # a single line and move back to the initial state 0. | ^ main.cpp:23:3: error: stray '\' in program 23 | /^\s*\*)$/ { | ^ main.cpp:23:6: error: stray '\' in program 23 | /^\s*\*)$/ { Non zero exit status: 1

Ceva nu functioneaza?