Borderou de evaluare (job #3147627)
Utilizator | Data | 26 august 2023 14:41:05 | |
---|---|---|---|
Problema | Omida Mincinoasa | Status | done |
Runda | Junior Challenge 2023 Runda 1 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:27:5: error: 'cin' was not declared in this scope
27 | cin>>t;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:33:13: error: 'cout' was not declared in this scope
33 | cout<<lgpow(2,n);
| ^~~~
main.cpp:33:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:35:13: error: 'cout' was not declared in this scope
35 | cout<<(n*lgpow(2,n-1))%MOD;
| ^~~~
main.cpp:35:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:37:13: error: 'cout' was not declared in this scope
37 | cout<<1;
| ^~~~
main.cpp:37:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:39:13: error: 'cout' was not declared in this scope
39 | cout<<0;
| ^~~~
main.cpp:39:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:41:13: error: 'cout' was not declared in this scope
41 | cout<<1;
| ^~~~
main.cpp:41:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:43:13: error: 'cout' was not declared in this scope
43 | cout<<(n*(n+1)*lgpow(2,n-2))%MOD;
| ^~~~
main.cpp:43:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:44:9: error: 'cout' was not declared in this scope
44 | cout<<'\n';
| ^~~~
main.cpp:44:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !