Borderou de evaluare (job #764705)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Tema (clasa a 8-a) | Compilator | c-32 |
Rundă | Tema 18 - Clasa a 8-a | Status | evaluat |
Dată | 24 feb. 2024 23:20:34 | Scor | 30 |
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:84:51: warning: variable 'cmm' set but not used [-Wunused-but-set-variable]
84 | int cm, q=1, start, lung=0, maxx=1, sant, cmm, cmant, cm2, semn=0, csem=0, cm2s;
| ^~~
main.c:84:29: warning: variable 'lung' set but not used [-Wunused-but-set-variable]
84 | int cm, q=1, start, lung=0, maxx=1, sant, cmm, cmant, cm2, semn=0, csem=0, cm2s;
| ^~~~
main.c:49:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
49 | fscanf(in, "%d%d%lld", &c, &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:52:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
52 | fscanf(in, "%d", &a[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:129:24: warning: 'cm2' may be used uninitialized [-Wmaybe-uninitialized]
129 | if(cm2 != cm)
| ^
main.c:84:63: note: 'cm2' was declared here
84 | int cm, q=1, start, lung=0, maxx=1, sant, cmm, cmant, cm2, semn=0, csem=0, cm2s;
| ^~~
main.c:164:11: warning: 'cm' may be used uninitialized [-Wmaybe-uninitialized]
164 | if(cm!=0)
| ^
main.c:84:13: note: 'cm' was declared here
84 | int cm, q=1, start, lung=0, maxx=1, sant, cmm, cmant, cm2, semn=0, csem=0, cm2s;
| ^~
main.c:165:14: warning: 'start' may be used uninitialized [-Wmaybe-uninitialized]
165 | {if(n-start+1 >= maxx)
| ~^~~~~~
main.c:84:22: note: 'start' was declared here
84 | int cm, q=1, start, lung=0, maxx=1, sant, cmm, cmant, cm2, semn=0, csem=0, cm2s;
| ^~~~~
main.c:172:42: warning: 'sant' may be used uninitialized [-Wmaybe-uninitialized]
172 | fprintf(out, "%d %d", sant, sant + maxx-1);
| ~~~~~^~~~~~
main.c:84:45: note: 'sant' was declared here
84 | int cm, q=1, start, lung=0, maxx=1, sant, cmm, cmant, cm2, semn=0, csem=0, cm2s;
| ^~~~
Testele acestui job nu corespund cu structura problemei. Probabil problema a fost editată după trimiterea acestui job. Detalii:
- Testul 21 nu există.
- Testul 22 nu există.
- Testul 23 nu există.
Test | Timp execuție | Memorie folosită | Mesaj | Punctaj/test |
---|---|---|---|---|
1 | 189 ms | 9150 kb | OK | 5 |
2 | 209 ms | 9154 kb | OK | 5 |
3 | 189 ms | 9158 kb | OK | 5 |
4 | 209 ms | 9154 kb | Incorect | 0 |
5 | 269 ms | 9158 kb | OK | 5 |
6 | 379 ms | 9154 kb | OK | 5 |
7 | 1009 ms | 9420 kb | Time limit exceeded | 0 |
8 | 1009 ms | 9424 kb | Time limit exceeded | 0 |
9 | 1009 ms | 9424 kb | Time limit exceeded | 0 |
10 | 1009 ms | 9687 kb | Time limit exceeded | 0 |
11 | 1009 ms | 9682 kb | Time limit exceeded | 0 |
12 | 189 ms | 9154 kb | OK | 5 |
13 | 189 ms | 9158 kb | Incorect | 0 |
14 | 189 ms | 9154 kb | Incorect | 0 |
15 | 208 ms | 9154 kb | Incorect | 0 |
16 | 209 ms | 9154 kb | Incorect | 0 |
17 | 209 ms | 9154 kb | Incorect | 0 |
18 | 209 ms | 9154 kb | Incorect | 0 |
19 | 229 ms | 9420 kb | Incorect | 0 |
20 | 239 ms | 9416 kb | Incorect | 0 |
21 | N/A | N/A | N/A | N/A |
22 | N/A | N/A | N/A | N/A |
23 | N/A | N/A | N/A | N/A |
Punctaj total | 30 |