Pagini recente » Borderou de evaluare (job #445991) | Borderou de evaluare (job #474552) | Borderou de evaluare (job #1898095) | Borderou de evaluare (job #271933) | Borderou de evaluare (job #2950833)
Borderou de evaluare (job #2950833)
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 |
1 | 17ms | 360kb | Killed by Signal 11 | 0 | 0 |
2 | 24ms | 458kb | Killed by Signal 11 | 0 | 0 |
3 | 17ms | 372kb | Killed by Signal 11 | 0 | 0 |
4 | 20ms | 368kb | Killed by Signal 11 | 0 | 0 |
5 | 17ms | 376kb | Killed by Signal 11 | 0 | 0 |
6 | 17ms | 360kb | Killed by Signal 11 | 0 | 0 |
7 | 18ms | 352kb | Killed by Signal 11 | 0 | 0 |
8 | 64ms | 1191kb | Killed by Signal 11 | 0 | 0 |
9 | 32ms | 1134kb | Killed by Signal 11 | 0 |
10 | 64ms | 1097kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |