Pagini recente »
Borderou de evaluare (job #527949)
|
Borderou de evaluare (job #548527)
|
Borderou de evaluare (job #609004)
|
Borderou de evaluare (job #520857)
|
Borderou de evaluare (job #770640)
Borderou de evaluare (job #770640)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:105:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
105 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* short int*
| %hd
main.cpp:105:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
105 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* short int*
| %hd
main.cpp:108:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
108 | scanf("%d", &a[i][j]);
| ~^ ~~~~~~~~
| | |
| | short int*
| int*
| %hd
main.cpp:103:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
103 | freopen("enclave.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:104:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
104 | freopen("enclave.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:105:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
105 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:108:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
108 | scanf("%d", &a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
266 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
507 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|