Pagini recente » Borderou de evaluare (job #1871712) | Borderou de evaluare (job #2081881) | Borderou de evaluare (job #2834014) | Borderou de evaluare (job #1476752) | Borderou de evaluare (job #2184901)
Borderou de evaluare (job #2184901)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolvare()’:
user.cpp:49:29: warning: narrowing conversion of ‘p[poz]’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
heap.push({p[poz], poz});
~~~~~^
user.cpp: In function ‘void afisare()’:
user.cpp:60:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sol[i]);
^
user.cpp: In function ‘void citire()’:
user.cpp:26:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld\n", &n, &d);
^
user.cpp:29:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld\n", &t[i], &p[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:65:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ramen.in", "r", stdin);
^
user.cpp:66:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ramen.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3364kb | Corect | 4 |
2 | 0ms | 3368kb | Corect | 3 |
3 | 0ms | 3364kb | Corect | 3 |
4 | 0ms | 3372kb | Corect | 4 |
5 | 0ms | 3372kb | Incorect | 0 |
6 | 4ms | 3440kb | Incorect | 0 |
7 | 4ms | 3436kb | Incorect | 0 |
8 | 4ms | 3440kb | Incorect | 0 |
9 | 4ms | 3440kb | Corect | 5 |
10 | 4ms | 3440kb | Corect | 5 |
11 | 4ms | 3436kb | Incorect | 0 |
12 | 4ms | 3456kb | Corect | 5 |
13 | 92ms | 4532kb | Incorect | 0 |
14 | 88ms | 4532kb | Incorect | 0 |
15 | 112ms | 5056kb | Incorect | 0 |
16 | 120ms | 5328kb | Incorect | 0 |
17 | 128ms | 5324kb | Incorect | 0 |
18 | 140ms | 5324kb | Incorect | 0 |
19 | 124ms | 5324kb | Incorect | 0 |
20 | 152ms | 5324kb | Incorect | 0 |
21 | 124ms | 5324kb | Incorect | 0 |
22 | 180ms | 6004kb | Incorect | 0 |
Punctaj total | 29 |