Pagini recente »
Borderou de evaluare (job #55164)
Borderou de evaluare (job #55164)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:51: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=]
12 | for(i=1;i<=n;++i)for(j=1;j<=m;++j)fscanf(in,"%d",&v[i][j]);
| ~^ ~~~~~~~~
| | |
| | bool*
| int*
main.cpp:11:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(in,"%hd%hd",&n,&m);
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:12:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | for(i=1;i<=n;++i)for(j=1;j<=m;++j)fscanf(in,"%d",&v[i][j]);
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:13:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(in,"%d",&q);
| ~~~~~~^~~~~~~~~~~~
main.cpp:17:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(in,"%hd%hd%hd%hd",&l,&c,&ll,&cc);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
292 kb
|
OK
|
20
|
|
2
|
1 ms
|
508 kb
|
OK
|
20
|
|
3
|
2 ms
|
292 kb
|
OK
|
20
|
|
4
|
depășit
|
1064 kb
|
Time limit exceeded.
|
0
|
|
5
|
depășit
|
1536 kb
|
Time limit exceeded.
|
0
|
|
Punctaj total
|
60
|