Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2095248)
| Utilizator | Data | 27 decembrie 2017 12:08:44 | |
|---|---|---|---|
| Problema | Sticle | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:7:13: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
for(; c < 48 | c > 57; c = getchar());
^
user.cpp:9:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
for(; c > 47 & c < 58; nr = nr * 10 + c - 48, c = getchar());
^
user.cpp: In function ‘int main()’:
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sticle.in", "r", stdin);
^
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sticle.out", "w", stdout);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 208kb | OK | 10 |
| 2 | 0ms | 204kb | OK | 10 |
| 3 | 0ms | 208kb | OK | 10 |
| 4 | 0ms | 200kb | OK | 10 |
| 5 | 0ms | 212kb | OK | 10 |
| 6 | 4ms | 208kb | OK | 10 |
| 7 | 4ms | 212kb | OK | 10 |
| 8 | 8ms | 212kb | OK | 10 |
| 9 | 8ms | 212kb | OK | 10 |
| 10 | 8ms | 212kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
