Borderou de evaluare (job #498263)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Aritma (clasa a 8-a) | Compilator | cpp |
Rundă | lasm_29_10_2019_10_12b | Status | evaluat |
Dată | 29 oct. 2019 20:42:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ofstream' does not name a type
2 | ofstream cout ("aritma.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:5:14: error: 'cout' is not a member of 'std'
5 | std::cout << "<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad="javascript:window.close()"></body></html>";
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
1 | #include <fstream>
+++ |+#include <iostream>
2 | ofstream cout ("aritma.out");
main.cpp:5:22: error: unable to find string literal operator 'operator""javascript' with 'const char [85]', 'unsigned int' arguments
5 | std::cout << "<html><head><title></title>.campion | Arhiva Educationala</head></head><body onLoad="javascript:window.close()"></body></html>";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~