Pagini recente »
Borderou de evaluare (job #769280)
|
Borderou de evaluare (job #543021)
|
Clasament tema_oni_10_1
|
Borderou de evaluare (job #627235)
|
Borderou de evaluare (job #770681)
Borderou de evaluare (job #770681)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:119:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
119 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* short int*
| %hd
main.cpp:119:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
119 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* short int*
| %hd
main.cpp:122:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
122 | scanf("%d", &a[i][j]);
| ~^ ~~~~~~~~
| | |
| | short int*
| int*
| %hd
main.cpp:117:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
117 | freopen("enclave.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:118:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
118 | freopen("enclave.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:119:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
119 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:122:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
122 | scanf("%d", &a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 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
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|