Pagini recente » Borderou de evaluare (job #1188123) | Borderou de evaluare (job #3226375) | Borderou de evaluare (job #177774) | Borderou de evaluare (job #394829) | Borderou de evaluare (job #2226521)
Borderou de evaluare (job #2226521)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_int()’:
user.cpp:12:13: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
for(; c < 48 | c > 57; c = getchar());
~~^~~~
user.cpp:14: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:48:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
user.cpp:75:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3368kb | OK | 10 |
2 | 0ms | 3368kb | OK | 10 |
3 | 0ms | 3368kb | OK | 10 |
4 | 4ms | 3372kb | OK | 10 |
5 | 8ms | 3376kb | OK | 10 |
6 | 44ms | 3444kb | OK | 10 |
7 | 120ms | 3504kb | OK | 10 |
8 | 108ms | 3500kb | OK | 10 |
9 | 592ms | 6104kb | OK | 10 |
10 | 592ms | 6104kb | OK | 10 |
Punctaj total | 100 |