Pagini recente »
Borderou de evaluare (job #661738)
|
Borderou de evaluare (job #266931)
|
Borderou de evaluare (job #577626)
|
Borderou de evaluare (job #569327)
|
Borderou de evaluare (job #581738)
Borderou de evaluare (job #581738)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
21 | fscanf( fin, "%d %d", &v[ i ].l, &v[ i ].c );
| ~^ ~~~~~~~~~
| | |
| int* short int*
| %hd
main.cpp:21:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
21 | fscanf( fin, "%d %d", &v[ i ].l, &v[ i ].c );
| ~^ ~~~~~~~~~
| | |
| int* short int*
| %hd
main.cpp:19:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19 | fscanf( fin, "%d %d\n%d %d\n%d\n", &n, &m, &lin, &col, &k );
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:21:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
21 | fscanf( fin, "%d %d", &v[ i ].l, &v[ i ].c );
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
OK
|
10
|
2
|
1 ms
|
262 kb
|
OK
|
10
|
3
|
1 ms
|
262 kb
|
OK
|
10
|
4
|
1 ms
|
262 kb
|
OK
|
10
|
5
|
1 ms
|
262 kb
|
Killed by Signal 9
|
0
|
6
|
1 ms
|
262 kb
|
OK
|
10
|
7
|
1 ms
|
262 kb
|
OK
|
10
|
8
|
1 ms
|
262 kb
|
OK
|
10
|
9
|
1 ms
|
262 kb
|
OK
|
10
|
10
|
1 ms
|
262 kb
|
OK
|
10
|
Punctaj total
|
90
|