Pagini recente »
Clasament 2020-01-30-clasa-7-tema-18
|
Clasament 2021-09-16-clasa-7-tema-02
|
Clasament 2022-01-12-clasa-5-concurs022
|
Borderou de evaluare (job #767863)
|
Borderou de evaluare (job #779504)
Borderou de evaluare (job #779504)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:27:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
27 | if(a/i1>b/i2 || b==0 && a!=0)
| ~~~~~^~~~~~~
main.c:36:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
36 | else if(a/i1<b/i2 || a==0 && b!=0)
| ~~~~~^~~~~~~
main.c:47:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
47 | fprintf(fout ,"%d",n);
| ~^ ~
| | |
| | long long int
| int
| %lld
main.c:7:16: warning: unused variable 'c2' [-Wunused-variable]
7 | int a,b,c1,c2,aa,bb,i1,i2;
| ^~
main.c:7:13: warning: unused variable 'c1' [-Wunused-variable]
7 | int a,b,c1,c2,aa,bb,i1,i2;
| ^~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin ,"%d%d",&a,&b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
507 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
266 kb
|
Incorect
|
0
|
9
|
59 ms
|
249 kb
|
Time limit exceeded
|
0
|
10
|
1 ms
|
266 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
59 ms
|
249 kb
|
Time limit exceeded
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
59 ms
|
249 kb
|
Time limit exceeded
|
0
|
16
|
1 ms
|
266 kb
|
Incorect
|
0
|
17
|
59 ms
|
249 kb
|
Time limit exceeded
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
266 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|