Pagini recente » Borderou de evaluare (job #2161437) | Borderou de evaluare (job #3122916) | Borderou de evaluare (job #2207039) | Borderou de evaluare (job #133006) | Borderou de evaluare (job #2135947)
Borderou de evaluare (job #2135947)
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:79:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[pos] < 48 | buffer[pos] > 57)
^
user.cpp:90:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(buffer[pos] > 47 & buffer[pos] < 58)
^
user.cpp: In function ‘int main()’:
user.cpp:125: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:126: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:85:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, bufferSize, stdin);
^
user.cpp:96:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, bufferSize, stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 3748kb | OK | 5 | 5 |
| 2 | 0ms | 3756kb | OK | 5 | 5 |
| 3 | 0ms | 3752kb | Incorect | 0 | 0 |
| 4 | 0ms | 3752kb | Incorect | 0 | 0 |
| 5 | 0ms | 3772kb | Incorect | 0 | 0 |
| 6 | 0ms | 3752kb | Incorect | 0 | 0 |
| 7 | 0ms | 3760kb | OK | 5 |
| 8 | 8ms | 4284kb | Incorect | 0 | 0 |
| 9 | 16ms | 4556kb | Incorect | 0 |
| 10 | 0ms | 3772kb | OK | 5 |
| 11 | 12ms | 4688kb | Incorect | 0 | 0 |
| 12 | 36ms | 5556kb | Incorect | 0 |
| 13 | 28ms | 5092kb | Incorect | 0 |
| 14 | 52ms | 6164kb | Incorect | 0 |
| 15 | 68ms | 6616kb | Incorect | 0 | 0 |
| 16 | 56ms | 6012kb | Incorect | 0 |
| 17 | 0ms | 3768kb | OK | 5 |
| 18 | 92ms | 6856kb | Incorect | 0 | 0 |
| 19 | 108ms | 7536kb | Incorect | 0 |
| 20 | 0ms | 3788kb | OK | 5 |
| Punctaj total | 10 |