Pagini recente »
Borderou de evaluare (job #848620)
Borderou de evaluare (job #848620)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:13: warning: unused variable 'j' [-Wunused-variable]
11 | int n,i,j,s,k,sum;
| ^
main.cpp:12:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d%d",&n,&k);
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:14:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d",&x[i]);
| ~~~~~~^~~~~~~~~~~~~~~~
main.cpp:16:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin,"%d",&s);
| ~~~~~~^~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
292 kb
|
OK
|
10
|
|
2
|
1 ms
|
292 kb
|
OK
|
10
|
|
3
|
1 ms
|
508 kb
|
OK
|
10
|
|
4
|
1 ms
|
508 kb
|
OK
|
10
|
|
5
|
1 ms
|
292 kb
|
OK
|
10
|
|
6
|
1 ms
|
508 kb
|
OK
|
10
|
|
7
|
2 ms
|
508 kb
|
OK
|
10
|
|
8
|
2 ms
|
292 kb
|
OK
|
10
|
|
9
|
2 ms
|
508 kb
|
OK
|
10
|
|
10
|
1 ms
|
292 kb
|
OK
|
10
|
|
Punctaj total
|
100
|