Borderou de evaluare (job #805300)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Evalpostfix (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 ian. 2025 12:36:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int makenr(char*)':
main.cpp:17:19: error: 'strlen' was not declared in this scope
17 | for(int i=0;i<strlen(s);i++)
| ^~~~~~
main.cpp:10:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
9 | #include <stack>
+++ |+#include <cstring>
10 | using namespace std;