Borderou de evaluare (job #2941517)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 17 noiembrie 2022 20:34:39
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int evaluate()': main.cpp:29:18: error: 'strlen' was not declared in this scope 29 | int length = strlen(s+1); | ^~~~~~ main.cpp:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 2 | #include <stack> +++ |+#include <cstring> 3 | using namespace std; main.cpp: In function 'int calc(int, int, char)': main.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type] 17 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?