Borderou de evaluare (job #785246)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bigcircle (JBOI) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 sept. 2024 17:40:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:208:9: error: 'sprintf_s' was not declared in this scope; did you mean 'sprintf'?
208 | sprintf_s(output, "%.2f", MDLen);
| ^~~~~~~~~
| sprintf
main.cpp:209:25: error: 'strlen' was not declared in this scope
209 | int outputLen = strlen(output);
| ^~~~~~
main.cpp:6:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include<math.h>
+++ |+#include <cstring>
6 | using namespace std;