Borderou de evaluare (job #2843927)

Utilizator D4R1U5Sava Darius D4R1U5 Data 3 februarie 2022 12:08:34
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:36:16: error: empty character constant 36 | while(p == '' || *p == '/') | ^~ main.cpp:38:17: error: empty character constant 38 | if(p == '') | ^~ main.cpp: In function 'int termen()': main.cpp:36:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 36 | while(p == '' || *p == '/') | ~~^~~~~ main.cpp:38:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 38 | if(p == '') | ~~^~~~~ Non zero exit status: 1

Ceva nu functioneaza?