Borderou de evaluare (job #2678211)
Utilizator | Data | 28 noiembrie 2020 11:12:54 | |
---|---|---|---|
Problema | Difprim | Status | done |
Runda | fminostressrecap | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int nr_prim(int)':
main.cpp:7:8: warning: unused variable 'nr' [-Wunused-variable]
int d,nr=0;
^~
main.cpp: In function 'int maxi(int)':
main.cpp:15:12: error: 'INT_MIN' was not declared in this scope
{int maxi=INT_MIN;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:23:36: error: 'INT_MIN' was not declared in this scope
int a,b,k,p=0,v[100000],i,j,maxi=INT_MIN, mini=INT_MAX, mini2=INT_MAX;
^~~~~~~
main.cpp:30:10: error: unable to find numeric literal operator 'operator""maxi'
{0maxi=d;
^~~~~
main.cpp:30:10: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
main.cpp:31:14: warning: unused variable 'k' [-Wunused-variable]
int k=1;
^
main.cpp:35:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
else{ if(d==maxi)
^~
main.cpp:37:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
v[++p]=i;
^
main.cpp:43:25: error: 'mini' was not declared in this scope
if(v[j]<mini)
^~~~
main.cpp:44:16: error: 'mini2' was not declared in this scope
{mini2=mini;
^~~~~
main.cpp:46:26: error: 'mini2' was not declared in this scope
if(v[j]<mini2)
^~~~~
main.cpp:48:19: error: 'mini' was not declared in this scope
} fout<<mini<<" "<<mini2;
^~~~
main.cpp:48:30: error: 'mini2' was not declared in this scope
} fout<<mini<<" "<<mini2;
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !