Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2603733)
| Utilizator | Data | 20 aprilie 2020 18:57:06 | |
|---|---|---|---|
| Problema | Subsir crescator maximal | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 10 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:36: 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);
^
main.cpp:8:38: 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);
^
main.cpp:9:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:11:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:21:23: warning: 'mp' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(n = 0; mp; mp = pred[mp])
~~~^~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 6ms | 524kb | Lungime incorecta! | 0 | 0 |
| 2 | 13ms | 524kb | Corect! | 10 | 10 |
| 3 | 4ms | 524kb | Lungime incorecta! | 0 | 0 |
| 4 | 6ms | 524kb | Lungime incorecta! | 0 | 0 |
| 5 | 6ms | 524kb | Lungime incorecta! | 0 | 0 |
| 6 | 13ms | 524kb | Lungime incorecta! | 0 | 0 |
| 7 | 19ms | 524kb | Lungime incorecta! | 0 | 0 |
| 8 | 300ms | 1048kb | Time limit exceeded | 0 | 0 |
| 9 | 300ms | 917kb | Time limit exceeded | 0 | |
| 10 | 303ms | 917kb | Time limit exceeded | 0 | |
| Punctaj total | 10 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
