Borderou de evaluare (job #2950833)

Utilizator lucaperjuLuca Perju Verzotti lucaperju Data 4 decembrie 2022 19:18:01
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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;int a(int Z){while(p[--Z]!=Q);if(--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;int a(int Z){while(p[--Z]!=Q);if(--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;int a(int Z){while(p[--Z]!=Q);if(--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: In function 'int a(int)': main.cpp:2:150: warning: no return statement in function returning non-void [-Wreturn-type] 2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int v['썐'],p['썐'],q['썐'],i,j,Q;int a(int Z){while(p[--Z]!=Q);if(--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: At global scope: main.cpp:2:151: 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;int a(int Z){while(p[--Z]!=Q);if(--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
117ms360kbKilled by Signal 1100
224ms458kbKilled by Signal 1100
317ms372kbKilled by Signal 1100
420ms368kbKilled by Signal 1100
517ms376kbKilled by Signal 1100
617ms360kbKilled by Signal 1100
718ms352kbKilled by Signal 1100
864ms1191kbKilled by Signal 1100
932ms1134kbKilled by Signal 110
1064ms1097kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?