Borderou de evaluare (job #609712)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Bile Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 11 oct. 2021 21:50:11 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 20 | for(i=0;i<n2;++i); | ^~~ main.c:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 21 | scanf("%d",&v1[i]); | ^~~~~ main.c:5:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 5 | freopen("bile.in","r",stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:6:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 6 | freopen("bile.out","w",stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%d%d",&n1,&n2); | ^~~~~~~~~~~~~~~~~~~~~ main.c:10:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%d",&v1[i]); | ^~~~~~~~~~~~~~~~~~ main.c:21:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | scanf("%d",&v1[i]); | ^~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 131 kb OK 10
2 4 ms 131 kb Incorect 0
3 4 ms 131 kb Incorect 0
4 4 ms 131 kb OK 10
5 3 ms 131 kb Incorect 0
6 3 ms 131 kb OK 10
7 3 ms 131 kb Incorect 0
8 3 ms 131 kb Incorect 0
9 3 ms 131 kb OK 10
10 3 ms 131 kb OK 10
Punctaj total 50