Pagini recente » Borderou de evaluare (job #2362237) | Borderou de evaluare (job #2761556) | Borderou de evaluare (job #1318976) | Borderou de evaluare (job #1467458) | Borderou de evaluare (job #2950831)
Borderou de evaluare (job #2950831)
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<fstream>
| ^~~~~~
main.cpp:2:64: warning: multi-character character constant [-Wmultichar]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int v['썐'],p['썐'],q['썐'],i,j,Q;void a(int Z){while(p[--Z]!=Q);if(Q>1)Q--,a(Z);g<<v[Z]<<" ";}main(){f>>j;while(f>>v[i]){j=0;while(v[i]>q[j]&&j<=Q)j++;q[j]=v[i],p[i++]=j,Q=Q>j?Q:j;}g<<Q<<"\n";a(i);}
| ^~~~
main.cpp:2:73: warning: multi-character character constant [-Wmultichar]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int v['썐'],p['썐'],q['썐'],i,j,Q;void a(int Z){while(p[--Z]!=Q);if(Q>1)Q--,a(Z);g<<v[Z]<<" ";}main(){f>>j;while(f>>v[i]){j=0;while(v[i]>q[j]&&j<=Q)j++;q[j]=v[i],p[i++]=j,Q=Q>j?Q:j;}g<<Q<<"\n";a(i);}
| ^~~~
main.cpp:2:82: warning: multi-character character constant [-Wmultichar]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int v['썐'],p['썐'],q['썐'],i,j,Q;void a(int Z){while(p[--Z]!=Q);if(Q>1)Q--,a(Z);g<<v[Z]<<" ";}main(){f>>j;while(f>>v[i]){j=0;while(v[i]>q[j]&&j<=Q)j++;q[j]=v[i],p[i++]=j,Q=Q>j?Q:j;}g<<Q<<"\n";a(i);}
| ^~~~
main.cpp:2:156: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int v['썐'],p['썐'],q['썐'],i,j,Q;void a(int Z){while(p[--Z]!=Q);if(Q>1)Q--,a(Z);g<<v[Z]<<" ";}main(){f>>j;while(f>>v[i]){j=0;while(v[i]>q[j]&&j<=Q)j++;q[j]=v[i],p[i++]=j,Q=Q>j?Q:j;}g<<Q<<"\n";a(i);}
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 1ms | 184kb | Corect! | 10 | 10 |
| 2 | 0ms | 184kb | Corect! | 10 | 10 |
| 3 | 0ms | 184kb | Corect! | 10 | 10 |
| 4 | 0ms | 184kb | Corect! | 10 | 10 |
| 5 | 0ms | 184kb | Corect! | 10 | 10 |
| 6 | 0ms | 184kb | Corect! | 10 | 10 |
| 7 | 0ms | 184kb | Corect! | 10 | 10 |
| 8 | 39ms | 917kb | Corect! | 10 | 30 |
| 9 | 13ms | 983kb | Corect! | 10 |
| 10 | 37ms | 1007kb | Corect! | 10 |
| Punctaj total | 100 |