Borderou de evaluare (job #2215925)
Utilizator | Data | 24 iunie 2018 12:26:34 | |
---|---|---|---|
Problema | Ejoc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:18: error: size of array ‘v’ is too large
int v[20000000000];
^
user.cpp: In function ‘int main()’:
user.cpp:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<n;i++)
~^~
user.cpp:17:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<l;i++)
~^~
user.cpp:19:9: error: ‘v’ was not declared in this scope
cin>>v[i];
^
user.cpp:25:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<l+d;i++)
~^~~~
user.cpp:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<l+d;j++)
~^~~~
user.cpp:29:9: error: ‘v’ was not declared in this scope
if(v[j]!=v[i])
^
user.cpp:35:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h=0;h<l+d;h++)
~^~~~
user.cpp:47:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h=0;h<l+d;h++)
~^~~~
user.cpp:10:30: warning: unused variable ‘a’ [-Wunused-variable]
unsigned long long int n,a,b,l=2;
^
user.cpp:10:32: warning: unused variable ‘b’ [-Wunused-variable]
unsigned long long int n,a,b,l=2;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !