Borderou de evaluare (job #2581055)
Utilizator | Data | 14 martie 2020 14:44:18 | |
---|---|---|---|
Problema | Indep | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void add(HugeN&, const HugeN&)':
main.cpp:20:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.nr.size() || i<b.nr.size() || t>0;i++){
~^~~~~~~~~~~~
main.cpp:20:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.nr.size() || i<b.nr.size() || t>0;i++){
~^~~~~~~~~~~~
main.cpp:21:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<a.nr.size()){
~^~~~~~~~~~~~
main.cpp:24:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<b.nr.size()){
~^~~~~~~~~~~~
main.cpp:27:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<a.nr.size())
~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:48:10: error: 'd' was not declared in this scope
if(d[j].nr.empty() == false){
^
main.cpp:39:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("indep.in" , "r" , stdin);
^
main.cpp:40:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("indep.out" , "w" , stdout);
^
main.cpp:41:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:45:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !