Pagini recente »
Borderou de evaluare (job #434620)
|
Borderou de evaluare (job #699406)
|
Borderou de evaluare (job #518629)
|
Borderou de evaluare (job #368058)
|
Borderou de evaluare (job #637374)
Borderou de evaluare (job #637374)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:92:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
92 | fscanf(f, "%d", &lo[j]);
| ~^ ~~~~~~
| | |
| | short unsigned int*
| int*
| %hd
main.cpp:95:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
95 | fscanf(f, "%d", &hi[i]);
| ~^ ~~~~~~
| | |
| | short unsigned int*
| int*
| %hd
main.cpp:90:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
90 | fscanf(f, "%d %d", &N, &M);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:92:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
92 | fscanf(f, "%d", &lo[j]);
| ~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:95:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
95 | fscanf(f, "%d", &hi[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:127:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
127 | freopen("pion.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
241 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
11 ms
|
376 kb
|
OK
|
10
|
4
|
27 ms
|
507 kb
|
OK
|
10
|
5
|
44 ms
|
765 kb
|
OK
|
10
|
6
|
177 ms
|
1036 kb
|
OK
|
10
|
7
|
237 ms
|
1290 kb
|
OK
|
10
|
8
|
383 ms
|
1294 kb
|
OK
|
10
|
9
|
442 ms
|
1552 kb
|
OK
|
10
|
10
|
641 ms
|
1552 kb
|
OK
|
10
|
Punctaj total
|
100
|