Borderou de evaluare (job #2195290)

Utilizator dragos.galeteanu2001Dragos Iulian dragos.galeteanu2001 Data 15 aprilie 2018 21:38:27
Problema Subsir 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:14:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for (int i = 1; i <= n; ++i) scanf("%d", &v[i]); ^ user.cpp:36:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", seqCounter); ^ user.cpp:38:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] for (int i = 1; i <= lg; ++i) printf("%d ", positions[i]); ^ user.cpp:13:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:14:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i <= n; ++i) scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms876kbNu e bine!0
20ms752kbNu e bine!0
30ms752kbNu e bine!0
40ms864kbNu e bine!0
50ms804kbNu e bine!0
60ms880kbNu e bine!0
70ms796kbNu e bine!0
80ms820kbNu e bine!0
90ms876kbNu e bine!0
100ms752kbNu e bine!0
110ms812kbNu e bine!0
120ms932kbCiaules Bulan!5
130ms868kbCiaules Bulan!5
140ms756kbCiaules Bulan!5
150ms756kbCiaules Bulan!5
160ms800kbCiaules Bulan!5
170ms936kbCiaules Bulan!5
180ms800kbCiaules Bulan!5
190ms756kbCiaules Bulan!5
200ms876kbCiaules Bulan!5
Punctaj total45

Ceva nu functioneaza?