Borderou de evaluare (job #1498536)
Utilizator | Data | 8 octombrie 2015 18:49:30 | |
---|---|---|---|
Problema | Sir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:45:30: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
fout<<imax<<' '<<primu<<' 'ultimu;
^
user.cpp: In function ‘void test(int, int, int, int, int)’:
user.cpp:15:17: error: ‘a’ was not declared in this scope
while(j-a[deq[FRONT]]>i)
^
user.cpp:15:19: error: ‘deq’ was not declared in this scope
while(j-a[deq[FRONT]]>i)
^
user.cpp:17:17: error: ‘a’ was not declared in this scope
while(j-a[deq2[FRONT2]]>i)
^
user.cpp:17:19: error: ‘deq2’ was not declared in this scope
while(j-a[deq2[FRONT2]]>i)
^
user.cpp:19:12: error: ‘a’ was not declared in this scope
if(a[deq[FRONT]]-a[deq2[FRONT2]]<=z && j-i)
^
user.cpp:19:14: error: ‘deq’ was not declared in this scope
if(a[deq[FRONT]]-a[deq2[FRONT2]]<=z && j-i)
^
user.cpp:19:28: error: ‘deq2’ was not declared in this scope
if(a[deq[FRONT]]-a[deq2[FRONT2]]<=z && j-i)
^
user.cpp: In function ‘int main()’:
user.cpp:33:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:34:14: error: ‘a’ was not declared in this scope
fin>>a[i];
^
user.cpp:38:15: error: ‘a’ was not declared in this scope
while(a[i]>a[deq[BACK]] && BACK>=FRONT) BACK--;
^
user.cpp:38:22: error: ‘deq’ was not declared in this scope
while(a[i]>a[deq[BACK]] && BACK>=FRONT) BACK--;
^
user.cpp:39:15: error: ‘a’ was not declared in this scope
while(a[i]<a[deq2[BACK2]] && BACK2>=FRONT2) BACK2--;
^
user.cpp:39:22: error: ‘deq2’ was not declared in this scope
while(a[i]<a[deq2[BACK2]] && BACK2>=FRONT2) BACK2--;
^
user.cpp:40:9: error: ‘deq’ was not declared in this scope
deq[++BACK]=a[i];
^
user.cpp:40:21: error: ‘a’ was not declared in this scope
deq[++BACK]=a[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !