Pagini recente » Borderou de evaluare (job #3343789) | Borderou de evaluare (job #659084) | Borderou de evaluare (job #1542853) | Borderou de evaluare (job #3206154) | Borderou de evaluare (job #2145662)
Borderou de evaluare (job #2145662)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:10: warning: statement has no effect [-Wunused-value]
for(i;best>0&&i>=0;--i)
^
user.cpp:70:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();++i)printf("%d ",ans[i]);
^
user.cpp: In function ‘void read_data()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1084kb | Corect! | 10 | 10 |
| 2 | 0ms | 1200kb | Corect! | 10 | 10 |
| 3 | 0ms | 1084kb | Corect! | 10 | 10 |
| 4 | 0ms | 1100kb | Corect! | 10 | 10 |
| 5 | 0ms | 1108kb | Corect! | 10 | 10 |
| 6 | 0ms | 1140kb | Corect! | 10 | 10 |
| 7 | 0ms | 1176kb | Corect! | 10 | 10 |
| 8 | 148ms | 6472kb | Corect! | 10 | 0 |
| 9 | Depăşit | 5980kb | Time limit exceeded. | 0 |
| 10 | 148ms | 6468kb | Corect! | 10 |
| Punctaj total | 70 |