Borderou de evaluare (job #2565816)
Utilizator | Data | 2 martie 2020 16:58:24 | |
---|---|---|---|
Problema | Flori5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: error: stray '#' in program
)#include <iostream>
^
main.cpp:1:1: error: expected unqualified-id before ')' token
)#include <iostream>
^
In file included from /usr/include/c++/6/cmath:43:0,
from main.cpp:3:
/usr/include/c++/6/ext/type_traits.h:162:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable
__is_null_pointer(std::nullptr_t)
^
/usr/include/c++/6/ext/type_traits.h:162:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
/usr/include/c++/6/ext/type_traits.h:157:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
__is_null_pointer(_Type)
^~~~~~~~~~~~~~~~~
/usr/include/c++/6/ext/type_traits.h:162:21: error: 'nullptr_t' is not a member of 'std'
__is_null_pointer(std::nullptr_t)
^~~
main.cpp: In function 'int main()':
main.cpp:12:5: error: 'cin' is not a member of 'std'
std::cin >> n >> k;
^~~
main.cpp:15:9: error: 'cin' is not a member of 'std'
std::cin >> val ;
^~~
main.cpp:20:5: error: 'cin' is not a member of 'std'
std::cin >> querys ;
^~~
main.cpp:23:9: error: 'cin' is not a member of 'std'
std::cin >> left >> right ;
^~~
main.cpp:27:13: error: 'cout' is not a member of 'std'
std::cout << pt << '\n' ;
^~~
main.cpp:30:13: error: 'cout' is not a member of 'std'
std::cout << pt + x * k << '\n' ;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !