Pagini recente » Borderou de evaluare (job #1165578) | Borderou de evaluare (job #2536743) | Borderou de evaluare (job #2237489) | Borderou de evaluare (job #2605465) | Borderou de evaluare (job #2135797)
Borderou de evaluare (job #2135797)
Raport evaluator
Compilare:
user.cpp:12:53: warning: integer overflow in expression [-Woverflow]
int distance[50001], visited[50001], OO = (1 << 31) - 1;
^
user.cpp: In function ‘void read(int&)’:
user.cpp:85:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
for(x = 0; ch[poz] >= '0' && ch[poz] <= '9' || ch[poz] == '-';
^
user.cpp: In function ‘int main()’:
user.cpp:94:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "r", stdin);
^
user.cpp:95:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out", "w", stdout);
^
user.cpp: In function ‘void read(int&)’:
user.cpp:81:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(ch[0] == '\0' ) fread(ch, 1, hg, stdin);
^
user.cpp:83:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
else for(; (ch[poz] < '0' || ch[poz] > '9') && ch[poz] != '-'; verf);
^
user.cpp:85:5: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
for(x = 0; ch[poz] >= '0' && ch[poz] <= '9' || ch[poz] == '-';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 2680kb | OK | 5 | 5 |
2 | 0ms | 2688kb | OK | 5 | 5 |
3 | 0ms | 2684kb | OK | 5 | 5 |
4 | 0ms | 2684kb | OK | 5 | 5 |
5 | 0ms | 2712kb | OK | 5 | 5 |
6 | 0ms | 2684kb | OK | 5 | 10 |
7 | 0ms | 2700kb | OK | 5 |
8 | 16ms | 3364kb | OK | 5 | 15 |
9 | 24ms | 3576kb | OK | 5 |
10 | 0ms | 2712kb | OK | 5 |
11 | 28ms | 3896kb | OK | 5 | 20 |
12 | 52ms | 4628kb | OK | 5 |
13 | 44ms | 4212kb | OK | 5 |
14 | 72ms | 5280kb | OK | 5 |
15 | 92ms | 5776kb | OK | 5 | 15 |
16 | 76ms | 5168kb | OK | 5 |
17 | 4ms | 2708kb | OK | 5 |
18 | 128ms | 6220kb | OK | 5 | 15 |
19 | 148ms | 6904kb | OK | 5 |
20 | 4ms | 2732kb | OK | 5 |
Punctaj total | 100 |