Pagini recente » Borderou de evaluare (job #913797) | Borderou de evaluare (job #1885170) | Borderou de evaluare (job #2858616) | Borderou de evaluare (job #1856982) | Borderou de evaluare (job #1386644)
Borderou de evaluare (job #1386644)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:38: 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:12:40: 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:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &op);
^
user.cpp:18:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(op==1) scanf("%d\n", &x),st.insert(x),ord[++ord[0]]=x;
^
user.cpp:19:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(op==2) scanf("%d\n", &x),st.erase(ord[x]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 280kb | OK | 10 | 10 |
| 2 | 0ms | 288kb | OK | 10 | 10 |
| 3 | 0ms | 296kb | OK | 10 | 10 |
| 4 | 4ms | 332kb | OK | 10 | 10 |
| 5 | 40ms | 440kb | OK | 10 | 60 |
| 6 | 76ms | 572kb | OK | 10 |
| 7 | 140ms | 3024kb | OK | 10 |
| 8 | 156ms | 1772kb | OK | 10 |
| 9 | 160ms | 856kb | OK | 10 |
| 10 | 160ms | 860kb | OK | 10 |
| Punctaj total | 100 |