Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2060535)
| Utilizator | Data | 8 noiembrie 2017 13:29:37 | |
|---|---|---|---|
| Problema | Ghicit | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ghicit.in", "r", stdin);
^
user.cpp:39:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ghicit.out", "w", stdout);
^
user.cpp:41:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:61:7: warning: ‘now’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int now, last, length = 1;
^
/tmp/cc1aJ3T9.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 260kb | OK | 5 |
| 2 | 28ms | 444kb | OK | 5 |
| 3 | 28ms | 444kb | OK | 5 |
| 4 | 104ms | 1232kb | OK | 5 |
| 5 | 176ms | 1552kb | OK | 5 |
| 6 | 148ms | 1548kb | OK | 5 |
| 7 | 240ms | 1552kb | OK | 5 |
| 8 | 172ms | 1552kb | OK | 5 |
| 9 | 172ms | 1852kb | OK | 5 |
| 10 | 244ms | 1844kb | OK | 5 |
| 11 | 236ms | 1848kb | OK | 5 |
| 12 | 0ms | 272kb | OK | 5 |
| 13 | 0ms | 268kb | OK | 5 |
| 14 | 0ms | 276kb | OK | 5 |
| 15 | 0ms | 280kb | OK | 5 |
| 16 | 56ms | 576kb | OK | 5 |
| 17 | 28ms | 576kb | OK | 5 |
| 18 | 24ms | 408kb | OK | 5 |
| 19 | 28ms | 444kb | OK | 5 |
| 20 | 28ms | 444kb | OK | 5 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
