Pagini recente »
Borderou de evaluare (job #400868)
|
Borderou de evaluare (job #690616)
Borderou de evaluare (job #690616)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:30:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
30 | fprintf(fout,"%d",s);
| ~^ ~
| | |
| | long long int
| int
| %lld
main.c:13:19: warning: unused variable 'p' [-Wunused-variable]
13 | long long s=0,p;
| ^
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin,"%d",&a[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d",&b[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
118 kb
|
Incorect
|
0
|
6
|
11 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
118 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
118 kb
|
Incorect
|
0
|
10
|
13 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
10
|