Pagini recente »
Borderou de evaluare (job #722423)
|
Borderou de evaluare (job #270721)
|
Borderou de evaluare (job #377011)
|
Borderou de evaluare (job #513516)
|
Borderou de evaluare (job #747066)
Borderou de evaluare (job #747066)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:20:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
20 | fprintf(fout, "%d %d", mmax, r);
| ~^ ~~~~
| | |
| int long long int
| %lld
main.c:20:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
20 | fprintf(fout, "%d %d", mmax, r);
| ~^ ~
| | |
| int long long int
| %lld
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin, "%d%d%d", &n, &x, &y);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d%d%d", &a1, &b1, &c1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:20:5:
/usr/include/bits/stdio2.h:79:10: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:7:15: note: 'r' was declared here
7 | long long r, m, mmax=10000000000000000;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
249 kb
|
Incorect
|
0
|
3
|
169 ms
|
249 kb
|
Incorect
|
0
|
4
|
169 ms
|
249 kb
|
Incorect
|
0
|
5
|
379 ms
|
249 kb
|
Incorect
|
0
|
6
|
489 ms
|
249 kb
|
Incorect
|
0
|
7
|
609 ms
|
245 kb
|
Incorect
|
0
|
8
|
598 ms
|
249 kb
|
Incorect
|
0
|
9
|
739 ms
|
249 kb
|
Incorect
|
0
|
10
|
957 ms
|
249 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|