Pagini recente » Borderou de evaluare (job #1691065) | Borderou de evaluare (job #288385) | Borderou de evaluare (job #2559757) | Borderou de evaluare (job #913931) | Borderou de evaluare (job #1358278)
Borderou de evaluare (job #1358278)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x), q.push(x), dist[x]=0;
^
user.cpp:41:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%lld%lld", &x, &y, &cost);
^
user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.in", "rt", stdin);
^
user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.out", "wt", stdout);
^
user.cpp:31:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &n, &m, &k);
^
user.cpp:37:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x), q.push(x), dist[x]=0;
^
user.cpp:41:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld%lld", &x, &y, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 720kb | OK | 10 |
2 | 4ms | 840kb | Incorect | 0 |
3 | 12ms | 1316kb | Incorect | 0 |
4 | 0ms | 712kb | Incorect | 0 |
5 | 28ms | 2092kb | Incorect | 0 |
6 | 60ms | 3416kb | Incorect | 0 |
7 | 4ms | 928kb | OK | 10 |
8 | 12ms | 1236kb | Incorect | 0 |
9 | 44ms | 2368kb | Incorect | 0 |
10 | 116ms | 4608kb | Incorect | 0 |
Punctaj total | 20 |