Pagini recente » Borderou de evaluare (job #1457797) | Borderou de evaluare (job #2635277) | Borderou de evaluare (job #2746735) | Borderou de evaluare (job #581353) | Borderou de evaluare (job #1533147)
Borderou de evaluare (job #1533147)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:77:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::pair<int, int>’ [-Wformat=]
printf("%d\n",heap[1]);
^
user.cpp:59:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:63:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:66:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
user.cpp:73:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
user.cpp: In function ‘int main()’:
user.cpp:86:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.in","r",stdin);
^
user.cpp:87:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 2000kb | OK | 10 | 10 |
2 | 0ms | 2000kb | OK | 10 | 10 |
3 | 0ms | 2004kb | OK | 10 | 10 |
4 | 4ms | 2024kb | OK | 10 | 10 |
5 | 24ms | 2084kb | OK | 10 | 60 |
6 | 52ms | 2164kb | OK | 10 |
7 | 112ms | 2396kb | OK | 10 |
8 | 96ms | 2312kb | OK | 10 |
9 | 108ms | 2324kb | OK | 10 |
10 | 108ms | 2328kb | OK | 10 |
Punctaj total | 100 |