Borderou de evaluare (job #2950830)

Utilizator lucaperjuLuca Perju Verzotti lucaperju Data 4 decembrie 2022 19:14:03
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>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;int 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;int 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: In function 'int a(int)': main.cpp:2:154: 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>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: At global scope: main.cpp:2:155: 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>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
119ms397kbKilled by Signal 1100
221ms401kbKilled by Signal 1100
319ms389kbKilled by Signal 1100
418ms385kbKilled by Signal 1100
520ms315kbKilled by Signal 1100
617ms344kbKilled by Signal 1100
717ms364kbKilled by Signal 1100
864ms1122kbKilled by Signal 1100
933ms1187kbKilled by Signal 110
1065ms1138kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?