Pagini recente »
Borderou de evaluare (job #520936)
|
Borderou de evaluare (job #792421)
|
Borderou de evaluare (job #719982)
|
Borderou de evaluare (job #208628)
|
Borderou de evaluare (job #583635)
Borderou de evaluare (job #583635)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:17: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[10]' [-Wformat=]
31 | fscanf(fin, "%s", &v1);
| ~^ ~~~
| | |
| | char (*)[10]
| char*
main.cpp:32:17: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[800001]' [-Wformat=]
32 | fscanf(fin, "%s", &v2);
| ~^ ~~~
| | |
| | char (*)[800001]
| char*
main.cpp:27:16: warning: unused variable 'val' [-Wunused-variable]
27 | int k, p, i, val, lung_val, valmax, nr, j, nval, ci;
| ^~~
main.cpp:30:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | fscanf(fin, "%d%d", &k, &p);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:31:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
31 | fscanf(fin, "%s", &v1);
| ~~~~~~^~~~~~~~~~~~~~~~
main.cpp:32:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
32 | fscanf(fin, "%s", &v2);
| ~~~~~~^~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
131 kb
|
OK
|
10
|
2
|
1 ms
|
262 kb
|
OK
|
10
|
3
|
1 ms
|
262 kb
|
OK
|
10
|
4
|
1 ms
|
262 kb
|
OK
|
10
|
5
|
2 ms
|
262 kb
|
OK
|
10
|
6
|
1 ms
|
262 kb
|
OK
|
10
|
7
|
1 ms
|
262 kb
|
OK
|
10
|
8
|
1 ms
|
262 kb
|
OK
|
10
|
9
|
1 ms
|
262 kb
|
OK
|
10
|
10
|
1 ms
|
262 kb
|
OK
|
10
|
Punctaj total
|
100
|