Borderou de evaluare (job #752375)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Cifre (clasa a 5-a) Compilator c-32
Rundă Tema 18 clasa a 5-a Status evaluat
Dată 20 dec. 2023 20:58:21 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:40:38: warning: conversion lacks type at end of format [-Wformat=] 40 | else {fprintf( fout, "%0 " );} | ^ main.c:63:38: warning: conversion lacks type at end of format [-Wformat=] 63 | else {fprintf( fout, "%0 " );} | ^ main.c:87:38: warning: conversion lacks type at end of format [-Wformat=] 87 | else {fprintf( fout, "%0 " );} | ^ main.c:8:83: warning: variable 'dcc' set but not used [-Wunused-but-set-variable] 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~ main.c:8:73: warning: variable 'dcb' set but not used [-Wunused-but-set-variable] 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~ main.c:8:68: warning: variable 'ucb' set but not used [-Wunused-but-set-variable] 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~ main.c:8:63: warning: variable 'dca' set but not used [-Wunused-but-set-variable] 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf( fin, "%d%d%d", &a, &b, &c ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:57:15: warning: 'ucc' may be used uninitialized [-Wmaybe-uninitialized] 57 | if(b%10==ucc){ | ^ main.c:8:78: note: 'ucc' was declared here 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~ main.c:23:12: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 23 | cnt++; | ~~~^~ main.c:8:30: note: 'cnt' was declared here 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~ main.c:46:13: warning: 'cnt2' may be used uninitialized [-Wmaybe-uninitialized] 46 | cnt2++; | ~~~~^~ main.c:8:35: note: 'cnt2' was declared here 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~~ main.c:70:13: warning: 'cnt3' may be used uninitialized [-Wmaybe-uninitialized] 70 | cnt3++; | ~~~~^~ main.c:8:41: note: 'cnt3' was declared here 8 | int a, b, c, ca, cb, cc, cnt, cnt2, cnt3, i, i2, i3, uca, dca, ucb, dcb, ucc, dcc; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 108 ms 249 kb Time limit exceeded 0
2 109 ms 249 kb Time limit exceeded 0
3 109 ms 245 kb Time limit exceeded 0
4 105 ms 147 kb Time limit exceeded 0
5 109 ms 249 kb Time limit exceeded 0
6 109 ms 249 kb Time limit exceeded 0
7 109 ms 249 kb Time limit exceeded 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 249 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 0