Pagini recente » Profil bubulina2002 | Monitorul de evaluare | Monitorul de evaluare | Profil AlexArdelean | Borderou de evaluare (job #1450737)
Borderou de evaluare (job #1450737)
Raport evaluator
Compilare:
user.cpp: In member function ‘void CronHeap::pushDown(unsigned int)’:
user.cpp:59:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((i << 1) + 1 <= dim && vect[(i << 1) + 1] < vect[(i << 1)] && vect[i] > vect[(i << 1) + 1])
^
user.cpp:61:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((i << 1) <= dim && vect[i] > vect[(i << 1)])
^
user.cpp: In function ‘std::ostream& operator<<(std::ostream&, CronHeap&)’:
user.cpp:94:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (h.posInHeap[i] != -1)
^
user.cpp: In function ‘int main()’:
user.cpp:106:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < n; ++i) {
^
user.cpp:103: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:104: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:105:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:107:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op1);
^
user.cpp:112:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 440kb | OK | 10 | 10 |
| 2 | 0ms | 436kb | OK | 10 | 10 |
| 3 | 0ms | 436kb | OK | 10 | 10 |
| 4 | 4ms | 460kb | OK | 10 | 10 |
| 5 | 28ms | 528kb | OK | 10 | 60 |
| 6 | 56ms | 616kb | OK | 10 |
| 7 | 120ms | 1576kb | OK | 10 |
| 8 | 104ms | 1048kb | OK | 10 |
| 9 | 116ms | 800kb | OK | 10 |
| 10 | 112ms | 796kb | OK | 10 |
| Punctaj total | 100 |