Pagini recente » Borderou de evaluare (job #2437694) | Borderou de evaluare (job #192437) | Borderou de evaluare (job #2350138) | Borderou de evaluare (job #1290236) | Borderou de evaluare (job #2095239)
Borderou de evaluare (job #2095239)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:16:13: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
for(; c < 48 | c > 57; c = getchar());
^
user.cpp:18: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:25: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:26: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 | 212kb | OK | 10 |
2 | 0ms | 216kb | OK | 10 |
3 | 0ms | 216kb | OK | 10 |
4 | 0ms | 216kb | OK | 10 |
5 | 0ms | 212kb | OK | 10 |
6 | 12ms | 216kb | OK | 10 |
7 | 12ms | 220kb | OK | 10 |
8 | 12ms | 220kb | OK | 10 |
9 | 16ms | 220kb | OK | 10 |
10 | 16ms | 216kb | OK | 10 |
Punctaj total | 100 |