Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2485865)
| Utilizator | Data | 2 noiembrie 2019 10:16:53 | |
|---|---|---|---|
| Problema | Subsir crescator maximal | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 10 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int cautare_binara(int, int, int)':
main.cpp:12:14: warning: left operand of comma operator has no effect [-Wunused-value]
for(l, i=poz;l;l>>=1)
^~~
main.cpp: In function 'int main()':
main.cpp:20: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:21: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:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:26: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 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
| 2 | 3ms | 131kb | Corect! | 10 | 10 |
| 3 | 5ms | 131kb | Lungime incorecta! | 0 | 0 |
| 4 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
| 5 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 6 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 7 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
| 8 | 120ms | 1490kb | Lungime incorecta! | 0 | 0 |
| 9 | 92ms | 1597kb | Lungime incorecta! | 0 | |
| 10 | 122ms | 1466kb | Lungime incorecta! | 0 | |
| Punctaj total | 10 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
