Pagini recente » Borderou de evaluare (job #1165186) | Borderou de evaluare (job #2826506) | Borderou de evaluare (job #2844747) | Borderou de evaluare (job #593911) | Borderou de evaluare (job #1488230)
Borderou de evaluare (job #1488230)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(distx[i] + disty[i] == distxy)
^
user.cpp: In function ‘void bfs(int, bool*, int*)’:
user.cpp:55:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[node].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:17:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in", "r", stdin);
^
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out", "w", stdout);
^
user.cpp:19:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &x, &y);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | OK | 10 |
2 | 0ms | 400kb | OK | 10 |
3 | 0ms | 396kb | OK | 10 |
4 | 0ms | 396kb | OK | 10 |
5 | 0ms | 400kb | OK | 10 |
6 | 12ms | 768kb | OK | 10 |
7 | 4ms | 524kb | OK | 10 |
8 | 8ms | 696kb | OK | 10 |
9 | 12ms | 748kb | OK | 10 |
10 | 12ms | 760kb | OK | 10 |
Punctaj total | 100 |