Pagini recente »
Borderou de evaluare (job #225459)
|
Borderou de evaluare (job #570271)
|
Borderou de evaluare (job #379865)
|
Borderou de evaluare (job #599358)
|
Borderou de evaluare (job #825957)
Borderou de evaluare (job #825957)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:21: warning: too many arguments for format [-Wformat-extra-args]
9 | fscanf(fin, "%d", &n, &m);
| ^~~~
main.cpp:19:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
19 | fprintf (fout, "%d\n%d\n%d", v[y]);
| ~^
| |
| int
main.cpp:19:30: warning: format '%d' expects a matching 'int' argument [-Wformat=]
19 | fprintf (fout, "%d\n%d\n%d", v[y]);
| ~^
| |
| int
main.cpp:9:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d", &n, &m);
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:11:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d", &x);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:17:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%d", &y);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:22:8: warning: 'fout' may be used uninitialized [-Wmaybe-uninitialized]
22 | fclose (fout);
| ~~~~~~~^~~~~~
main.cpp:6:17: note: 'fout' was declared here
6 | FILE *fin, *fout;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
79 ms
|
4964 kb
|
Killed by Signal 11
|
0
|
2
|
79 ms
|
4964 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
270 kb
|
Killed by Signal 11
|
0
|
4
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
270 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
512 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|