Pagini recente » Borderou de evaluare (job #2031349) | Borderou de evaluare (job #163244) | Borderou de evaluare (job #3232858) | Borderou de evaluare (job #2251972) | Borderou de evaluare (job #1641361)
Borderou de evaluare (job #1641361)
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:36: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 | 136ms | 4360kb | OK | 10 | 100 |
2 | 140ms | 4364kb | OK | 10 |
3 | 136ms | 4364kb | OK | 10 |
4 | 140ms | 4356kb | OK | 10 |
5 | 140ms | 4360kb | OK | 10 |
6 | 140ms | 4364kb | OK | 10 |
7 | 140ms | 4364kb | OK | 10 |
8 | 136ms | 4352kb | OK | 10 |
9 | 140ms | 4364kb | OK | 10 |
10 | 136ms | 4364kb | OK | 10 |
Punctaj total | 100 |