Pagini recente »
Borderou de evaluare (job #622255)
Borderou de evaluare (job #622255)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
15 | fscanf(fin, "%d", &a[1][i]);
| ~^ ~~~~~~~~
| | |
| | short int*
| int*
| %hd
main.cpp:9:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d%d%d", &n, &m, &p);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:11:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d%d", &x, &y);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:15:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d", &a[1][i]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
520 kb
|
OK
|
10
|
2
|
19 ms
|
4194 kb
|
OK
|
10
|
3
|
14 ms
|
4980 kb
|
OK
|
10
|
4
|
17 ms
|
5373 kb
|
OK
|
10
|
5
|
25 ms
|
7204 kb
|
OK
|
10
|
6
|
31 ms
|
6156 kb
|
OK
|
10
|
7
|
30 ms
|
8122 kb
|
OK
|
10
|
8
|
37 ms
|
8126 kb
|
Killed by Signal 11
|
0
|
9
|
34 ms
|
8126 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
258 kb
|
OK
|
10
|
Punctaj total
|
80
|