Pagini recente »
Borderou de evaluare (job #98471)
|
Borderou de evaluare (job #229943)
|
Borderou de evaluare (job #788094)
|
Borderou de evaluare (job #347271)
|
Borderou de evaluare (job #578284)
Borderou de evaluare (job #578284)
Raport evaluator
Compilare:
main.cpp: In function 'void bkt(int)':
main.cpp:12:11: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
12 | if (poz == n) {
| ~~~~^~~~
main.cpp:11:7: warning: unused variable 'i' [-Wunused-variable]
11 | int i, cop;
| ^
main.cpp:11:10: warning: unused variable 'cop' [-Wunused-variable]
11 | int i, cop;
| ^~~
main.cpp: In function 'int main()':
main.cpp:33:17: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
33 | fscanf(fin, "%d", &n);
| ~^ ~~
| | |
| | long long unsigned int*
| int*
| %lld
main.cpp:35:17: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
35 | for (i = 0; i < n; i++) {
| ~~^~~
main.cpp:36:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
36 | fscanf(fin, "%d", &v[i]);
| ~^ ~~~~~
| | |
| | long long unsigned int*
| int*
| %lld
main.cpp:28:16: warning: unused variable 'p10' [-Wunused-variable]
28 | int i, q, x, p10;
| ^~~
main.cpp:33:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | fscanf(fin, "%d", &n);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:36:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | fscanf(fin, "%d", &v[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:45:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
45 | fscanf(fin, "%d", &q);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:48:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
48 | fscanf(fin, "%d", &x);
| ~~~~~~^~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
2
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
3
|
2 ms
|
262 kb
|
Killed by Signal 8
|
0
|
4
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
5
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
6
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
7
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
8
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
9
|
1 ms
|
262 kb
|
Killed by Signal 8
|
0
|
10
|
1 ms
|
131 kb
|
Killed by Signal 8
|
0
|
Punctaj total
|
0
|