Pagini recente » Borderou de evaluare (job #403712) | Borderou de evaluare (job #874927) | Borderou de evaluare (job #2912193) | Borderou de evaluare (job #1844003) | Borderou de evaluare (job #1511215)
Borderou de evaluare (job #1511215)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((j < n) && (x <= g)) {
^
user.cpp:29:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x <= g) {
^
user.cpp:35:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (d[i] > x) {
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zebughil.in", "r", stdin);
^
user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zebughil.out", "w", stdout);
^
user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &g);
^
user.cpp:17:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &w[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 396ms | 784kb | OK | 10 |
2 | 108ms | 532kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 280kb | OK | 10 |
7 | 88ms | 528kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 0ms | 276kb | OK | 10 |
10 | 88ms | 536kb | OK | 10 |
Punctaj total | 100 |