Borderou de evaluare (job #673107)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Subsecvenţa de sumă maximă Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 nov. 2022 15:46:52 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:40:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 40 | fprintf(fout, "%d %d %d", maxs, si+1, fi+1); | ~^ ~~~~ | | | | int long long int | %lld main.c:10:12: warning: unused variable 'j' [-Wunused-variable] 10 | int i, j, si, ci, fi, cf, x; | ^ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | 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", &x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:40:5: warning: 'fi' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | fprintf(fout, "%d %d %d", maxs, si+1, fi+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
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 1 ms 114 kb Incorect 0
7 1 ms 118 kb Incorect 0
8 16 ms 114 kb Incorect 0
9 44 ms 118 kb Incorect 0
10 104 ms 118 kb Incorect 0
11 204 ms 118 kb Incorect 0
12 327 ms 114 kb Incorect 0
13 446 ms 118 kb Incorect 0
14 544 ms 118 kb Incorect 0
15 2501 ms 118 kb Time limit exceeded 0
16 2500 ms 118 kb Time limit exceeded 0
17 2503 ms 118 kb Time limit exceeded 0
18 2501 ms 118 kb Time limit exceeded 0
19 2506 ms 114 kb Time limit exceeded 0
20 2507 ms 114 kb Time limit exceeded 0
Punctaj total 0