Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2485866)
| Utilizator | Data | 2 noiembrie 2019 10:17:25 | |
|---|---|---|---|
| Problema | Subsir crescator maximal | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 20 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &a[i]);
^
main.cpp:67:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", p[vm]);
^
main.cpp:37: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:38: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:40:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:44:27: 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 | 3ms | 131kb | Corect! | 10 | 10 |
| 2 | 5ms | 262kb | Corect! | 10 | 10 |
| 3 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 4 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 5 | 2ms | 131kb | Lungime incorecta! | 0 | 0 |
| 6 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
| 7 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
| 8 | 60ms | 1703kb | Lungime incorecta! | 0 | 0 |
| 9 | 57ms | 1703kb | Corect! | 10 | |
| 10 | 72ms | 1806kb | Lungime incorecta! | 0 | |
| Punctaj total | 20 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
