Borderou de evaluare (job #614840)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Factorizare (clasa a 7-a) Compilator c-32
Rundă Tema 9 clasa a 7-a Status evaluat
Dată 7 nov. 2021 18:43:57 Scor 23

Raport evaluator

Compilare: main.c:4:5: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 4 | int exp(long long int n, long long int f) | ^~~ main.c:3:1: note: 'exp' is declared in header '<math.h>' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | int cnt=0; main.c: In function 'descompunere': main.c:33:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 33 | if(n==f) fprintf(fout,"%d 1",f); | ~^ ~ | | | | int long long int | %lld main.c: In function 'exp': main.c:14:1: warning: control reaches end of non-void function [-Wreturn-type] 14 | } | ^ main.c: In function 'main': main.c:44:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fscanf(fin,"%lld",&n); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb Incorect 0
7 303 ms 131 kb OK 5
8 159 ms 131 kb OK 5
9 23 ms 131 kb OK 5
10 1005 ms 131 kb Time limit exceeded 0
11 199 ms 131 kb Incorect 0
12 164 ms 131 kb Incorect 0
13 1 ms 131 kb OK 5
14 1 ms 131 kb OK 5
15 497 ms 131 kb Incorect 0
16 485 ms 131 kb Incorect 0
17 1004 ms 131 kb Time limit exceeded 0
18 1005 ms 131 kb Time limit exceeded 0
19 1004 ms 131 kb Time limit exceeded 0
20 1009 ms 131 kb Time limit exceeded 0
Penalizare: 6% (pentru 2 submisie/ii) 6%
Punctaj total 23