Borderou de evaluare (job #832917)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Fact (clasa a 9-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 19 aug. 2025 20:15:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:36:9: error: 'uint64_t' was not declared in this scope
36 | uint64_t i, n, b, j, p;
| ^~~~~~~~
main.cpp:16:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
15 | #include <algorithm>
+++ |+#include <cstdint>
16 | #include <string>
main.cpp:39:14: error: 'i' was not declared in this scope
39 | for (i = 1; i <= 5; ++i)
| ^
main.cpp:41:24: error: 'n' was not declared in this scope; did you mean 'nr'?
41 | fin >> n >> b;
| ^
| nr
main.cpp:41:29: error: 'b' was not declared in this scope
41 | fin >> n >> b;
| ^
main.cpp:43:17: error: 'p' was not declared in this scope
43 | p = 1;
| ^
main.cpp:44:22: error: 'j' was not declared in this scope
44 | for (j = 1; j <= n; ++j)
| ^