Pagini recente »
Borderou de evaluare (job #574815)
|
Borderou de evaluare (job #827929)
|
Borderou de evaluare (job #258727)
|
Borderou de evaluare (job #818104)
|
Borderou de evaluare (job #587862)
Borderou de evaluare (job #587862)
Raport evaluator
Compilare:
main.cpp: In function 'void Solve1()':
main.cpp:47:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'unsigned int'} [-Wsign-compare]
47 | for(int i = 0; i + k - 1 < ans.size();) {
| ~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:112:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
112 | freopen("mirror.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:113:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
113 | freopen("mirror.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:115:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
115 | scanf("%d%d%d", &task, &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:118:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
118 | scanf("%d", &v[i]);
| ~~~~~^~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
262 kb
|
OK
|
10
|
|
2
|
1 ms
|
262 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
262 kb
|
OK
|
10
|
|
4
|
1 ms
|
262 kb
|
Incorect
|
0
|
|
5
|
12 ms
|
389 kb
|
Incorect
|
0
|
|
6
|
282 ms
|
1142 kb
|
OK
|
10
|
|
7
|
19 ms
|
393 kb
|
Incorect
|
0
|
|
8
|
98 ms
|
651 kb
|
Incorect
|
0
|
|
9
|
149 ms
|
1150 kb
|
OK
|
10
|
|
10
|
1 ms
|
262 kb
|
OK
|
10
|
|
Punctaj total
|
50
|