Borderou de evaluare (job #688275)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Minarea (clasa 11/12) | Compilator | cpp-32 |
Rundă | lasm_18_01_2023_clasa12 | Status | evaluat |
Dată | 18 ian. 2023 17:25:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:5: error: 'cin' was not declared in this scope
11 | cin>>a>>b>>c>>d>>e>>f;
| ^~~
main.cpp:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <algorithm>
+++ |+#include <iostream>
3 |
main.cpp:17:5: error: 'cout' was not declared in this scope
17 | cout<<sol;
| ^~~~
main.cpp:17:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:9:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | freopen("popas.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:10:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | freopen("popas.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~