Pagini recente » Borderou de evaluare (job #152789) | Borderou de evaluare (job #2210886)
Borderou de evaluare (job #2210886)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:34: 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:34:36: 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);
^
user.cpp:37:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:41:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 1: scanf("%d", &x); hp.push(x); break;
^
user.cpp:42:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 2: scanf("%d", &x); hp.pop(x); break;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1312kb | OK | 10 | 10 |
| 2 | 0ms | 1320kb | OK | 10 | 10 |
| 3 | 0ms | 1332kb | OK | 10 | 10 |
| 4 | 8ms | 1444kb | OK | 10 | 10 |
| 5 | 0ms | 1328kb | OK | 10 | 60 |
| 6 | 96ms | 2232kb | OK | 10 |
| 7 | 172ms | 5556kb | OK | 10 |
| 8 | 200ms | 4216kb | OK | 10 |
| 9 | 212ms | 3288kb | OK | 10 |
| 10 | 212ms | 3296kb | OK | 10 |
| Punctaj total | 100 |