Pagini recente »
Borderou de evaluare (job #566880)
|
Clasament 2023-09-19-clasa-6-tema-2
|
Clasament s7_9g
|
Clasament 2017-10-19-clasa-5-tema-11
|
Borderou de evaluare (job #754754)
Borderou de evaluare (job #754754)
Raport evaluator
Compilare:
main.c:4:1: warning: data definition has no type or storage class
4 | v[9];
| ^
main.c:4:1: warning: type defaults to 'int' in declaration of 'v' [-Wimplicit-int]
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin ,"%d\n%d",&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:31:13: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
31 | if(v[i]!=0)
| ~^~~
main.c:29:12: note: within this loop
29 | while(i<=9)
| ~^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
100
|