Pagini recente » Borderou de evaluare (job #1195915) | Borderou de evaluare (job #3155790) | Borderou de evaluare (job #270551) | Borderou de evaluare (job #269956) | Borderou de evaluare (job #1641339)
Borderou de evaluare (job #1641339)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pokemon3.in", "r", stdin);
^
user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pokemon3.out", "w", stdout);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:39:31: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[i] = v[i - (1<<(pos - 1))] | a[pos];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 208ms | 4364kb | OK | 10 | 100 |
2 | 208ms | 4360kb | OK | 10 |
3 | 232ms | 4356kb | OK | 10 |
4 | 208ms | 4360kb | OK | 10 |
5 | 220ms | 4364kb | OK | 10 |
6 | 208ms | 4356kb | OK | 10 |
7 | 204ms | 4364kb | OK | 10 |
8 | 172ms | 4348kb | OK | 10 |
9 | 200ms | 4360kb | OK | 10 |
10 | 220ms | 4364kb | OK | 10 |
Punctaj total | 100 |