Borderou de evaluare (job #2952612)
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<fstream>
| ^~~~~~
main.cpp:2:72: warning: multi-character character constant [-Wmultichar]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int n,r,i,x,v['■'],k['■'],a['■'];void p(int i){while(a[i--]-r);if(--r)p(i);g<<v[i]<<" ";}main(){for(f>>x;f>>x;r+=n>r,k[a[++i]=n]=v[i]=x,n=0)while(r-n++&&k[n]<x);g<<r<<" ",p(i);}
| ^~~
main.cpp:2:81: warning: multi-character character constant [-Wmultichar]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int n,r,i,x,v['■'],k['■'],a['■'];void p(int i){while(a[i--]-r);if(--r)p(i);g<<v[i]<<" ";}main(){for(f>>x;f>>x;r+=n>r,k[a[++i]=n]=v[i]=x,n=0)while(r-n++&&k[n]<x);g<<r<<" ",p(i);}
| ^~~
main.cpp:2:90: warning: multi-character character constant [-Wmultichar]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int n,r,i,x,v['■'],k['■'],a['■'];void p(int i){while(a[i--]-r);if(--r)p(i);g<<v[i]<<" ";}main(){for(f>>x;f>>x;r+=n>r,k[a[++i]=n]=v[i]=x,n=0)while(r-n++&&k[n]<x);g<<r<<" ",p(i);}
| ^~~
main.cpp:2:153: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int n,r,i,x,v['■'],k['■'],a['■'];void p(int i){while(a[i--]-r);if(--r)p(i);g<<v[i]<<" ";}main(){for(f>>x;f>>x;r+=n>r,k[a[++i]=n]=v[i]=x,n=0)while(r-n++&&k[n]<x);g<<r<<" ",p(i);}
| ^~~~
main.cpp: In function 'int main()':
main.cpp:2:185: warning: operation on 'i' may be undefined [-Wsequence-point]
2 | std::ifstream f("scmax.in");std::ofstream g("scmax.out");int n,r,i,x,v['■'],k['■'],a['■'];void p(int i){while(a[i--]-r);if(--r)p(i);g<<v[i]<<" ";}main(){for(f>>x;f>>x;r+=n>r,k[a[++i]=n]=v[i]=x,n=0)while(r-n++&&k[n]<x);g<<r<<" ",p(i);}
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 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 | 30ms | 954kb | Corect! | 10 | 30 |
9 | 15ms | 1081kb | Corect! | 10 |
10 | 28ms | 966kb | Corect! | 10 |
Punctaj total | 100 |