Pagini recente » Monitorul de evaluare | Autentificare | Borderou de evaluare (job #1256256) | Borderou de evaluare (job #694600) | Borderou de evaluare (job #1413005)
Borderou de evaluare (job #1413005)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (aux[tt].size() == k && aux[tt].top() > p[i])
^
user.cpp:32:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (aux[tt].size() < k) aux[tt].push(p[i]);
^
user.cpp:40:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (aux[tt].size() == k && aux[tt].top() > p[i])
^
user.cpp:45:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (aux[tt].size() < k) aux[tt].push(p[i]);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("peste.in","r",stdin);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("peste.out","w",stdout);
^
user.cpp:19:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &N, &k, &Ttotal);
^
user.cpp:23:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &p[i], &t[i]); p[i] *= (-1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 12544kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 12284kb | Time limit exceeded. | 0 |
| 3 | 184ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 184ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 184ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 188ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 48ms | 580kb | Incorect | 0 |
| 8 | 28ms | 616kb | Incorect | 0 |
| 9 | 0ms | 324kb | Incorect | 0 |
| 10 | 0ms | 312kb | Incorect | 0 |
| Punctaj total | 0 |