Pagini recente »
Borderou de evaluare (job #750895)
Borderou de evaluare (job #750895)
Raport evaluator
Compilare:
main.cpp: In function 'void input()':
main.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d",&n); // NOLINT(*-err34-c)
| ~~~~~^~~~~~~~~
main.cpp:18:30: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | scanf("%d", &wall[i][j]); // NOLINT(*-err34-c)
| ~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:92:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
92 | freopen("hole.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:93:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
93 | freopen("hole.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:136:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result]
136 | system("pause");
| ~~~~~~^~~~~~~~~
In file included from /usr/include/stdio.h:906,
from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/cstdio:42,
from main.cpp:1:
In function 'int printf(const char*, ...)',
inlined from 'int main()' at main.cpp:135:8:
/usr/include/bits/stdio2.h:86:23: warning: 'iulmax' may be used uninitialized [-Wmaybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:96:21: note: 'iulmax' was declared here
96 | int smax=0, iulmax, julmax, idrmax, jdrmax;
| ^~~~~~
In function 'int printf(const char*, ...)',
inlined from 'int main()' at main.cpp:135:8:
/usr/include/bits/stdio2.h:86:23: warning: 'julmax' may be used uninitialized [-Wmaybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:96:29: note: 'julmax' was declared here
96 | int smax=0, iulmax, julmax, idrmax, jdrmax;
| ^~~~~~
In function 'int printf(const char*, ...)',
inlined from 'int main()' at main.cpp:135:8:
/usr/include/bits/stdio2.h:86:23: warning: 'idrmax' may be used uninitialized [-Wmaybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:96:37: note: 'idrmax' was declared here
96 | int smax=0, iulmax, julmax, idrmax, jdrmax;
| ^~~~~~
In function 'int printf(const char*, ...)',
inlined from 'int main()' at main.cpp:135:8:
/usr/include/bits/stdio2.h:86:23: warning: 'jdrmax' may be used uninitialized [-Wmaybe-uninitialized]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
499 kb
|
OK
|
5
|
2
|
1 ms
|
503 kb
|
OK
|
5
|
3
|
1 ms
|
503 kb
|
OK
|
5
|
4
|
1 ms
|
503 kb
|
OK
|
5
|
5
|
9 ms
|
1294 kb
|
OK
|
5
|
6
|
9 ms
|
1556 kb
|
OK
|
5
|
7
|
9 ms
|
1556 kb
|
OK
|
5
|
8
|
9 ms
|
1560 kb
|
OK
|
5
|
9
|
9 ms
|
1560 kb
|
OK
|
5
|
10
|
364 ms
|
7065 kb
|
OK
|
5
|
11
|
109 ms
|
4968 kb
|
OK
|
5
|
12
|
439 ms
|
7065 kb
|
OK
|
5
|
13
|
839 ms
|
9416 kb
|
OK
|
5
|
14
|
849 ms
|
12304 kb
|
OK
|
5
|
15
|
1745 ms
|
15187 kb
|
OK
|
5
|
16
|
1489 ms
|
18071 kb
|
OK
|
5
|
17
|
1528 ms
|
18067 kb
|
OK
|
5
|
18
|
3498 ms
|
21479 kb
|
OK
|
5
|
19
|
2709 ms
|
24358 kb
|
OK
|
5
|
20
|
4528 ms
|
24621 kb
|
OK
|
5
|
Punctaj total
|
100
|