Borderou de evaluare (job #1493551)

Utilizator IonSebastianIon Sebastian IonSebastian Data 29 septembrie 2015 16:50:02
Problema Role Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out, "%d\n", benzi[gol].rola); ^ user.cpp:82:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out, "%d\n", benzi[i].rola); ^ user.cpp:89:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out, "%d\n", benzi[i].rola); ^ user.cpp:28:9: warning: unused variable ‘poz’ [-Wunused-variable] int poz = 0; ^ user.cpp:31:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:36:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &x, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK!5
20ms280kbOK!5
30ms284kbBenzile nu sunt aranjate!0
40ms288kbBenzile nu sunt aranjate!0
50ms284kbBenzile nu sunt aranjate!0
60ms284kbBenzile nu sunt aranjate!0
70ms288kbBenzile nu sunt aranjate!0
880ms1684kbBenzile nu sunt aranjate!0
976ms1684kbBenzile nu sunt aranjate!0
1080ms1688kbBenzile nu sunt aranjate!0
11100ms2044kbBenzile nu sunt aranjate!0
120ms272kbOK!5
13100ms2040kbBenzile nu sunt aranjate!0
140ms272kbOK!5
150ms276kbBenzile nu sunt aranjate!0
160ms272kbBenzile nu sunt aranjate!0
170ms276kbOK!5
180ms272kbOK!5
190ms272kbOK!5
200ms276kbOK!5
Punctaj total40

Ceva nu functioneaza?