Pagini recente »
Borderou de evaluare (job #670805)
|
Borderou de evaluare (job #80530)
|
Borderou de evaluare (job #833900)
|
Borderou de evaluare (job #491513)
|
Borderou de evaluare (job #858279)
Borderou de evaluare (job #858279)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:71: warning: integer overflow in expression of type 'int' results in '-1654705664' [-Woverflow]
12 | long long i, n, x = 0, nr, st, dr, mij, r, r1, r2, minim = NR * N * N * N;
| ^
main.cpp:13:18: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
13 | fscanf(in, "%d",&n);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
main.cpp:52:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
52 | fprintf(out, "%d\n%d\n%d",r1,r2,minim);
| ~^ ~~
| | |
| int long long int
| %lld
main.cpp:52:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
52 | fprintf(out, "%d\n%d\n%d",r1,r2,minim);
| ~^ ~~
| | |
| int long long int
| %lld
main.cpp:52:28: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
52 | fprintf(out, "%d\n%d\n%d",r1,r2,minim);
| ~^ ~~~~~
| | |
| int long long int
| %lld
main.cpp:13:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(in, "%d",&n);
| ~~~~~~^~~~~~~~~~~~~
main.cpp:15:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(in, "%hd",&a[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:18:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(in, "%hd",&b[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:46:20: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
46 | if(nr - v[r] < minim){
| ~~~^
main.cpp:12:45: note: 'r' was declared here
12 | long long i, n, x = 0, nr, st, dr, mij, r, r1, r2, minim = NR * N * N * N;
| ^
In file included from /usr/include/stdio.h:970,
from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/cstdio:47,
from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/ext/string_conversions.h:47,
from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/basic_string.h:4442,
from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/string:56,
from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bitset:54,
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
508 kb
|
OK
|
10
|
|
2
|
1 ms
|
512 kb
|
Killed by signal 11.
|
0
|
|
3
|
1 ms
|
296 kb
|
Killed by signal 11.
|
0
|
|
4
|
1 ms
|
508 kb
|
OK
|
10
|
|
5
|
1 ms
|
296 kb
|
Killed by signal 11.
|
0
|
|
6
|
4 ms
|
548 kb
|
OK
|
10
|
|
7
|
1 ms
|
512 kb
|
Killed by signal 11.
|
0
|
|
8
|
2 ms
|
552 kb
|
Killed by signal 11.
|
0
|
|
9
|
4 ms
|
1280 kb
|
Killed by signal 11.
|
0
|
|
10
|
1 ms
|
296 kb
|
Killed by signal 11.
|
0
|
|
Punctaj total
|
30
|