Borderou de evaluare (job #1503362)

Utilizator theprdvtheprdv theprdv Data 15 octombrie 2015 23:23:13
Problema Curcubeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int (*)[1000002]’ [-Wformat=] scanf("%d%d%d%d", &N, &A, &B, &C); ^ user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int (*)[1000002]’ [-Wformat=] user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘int (*)[1000002]’ [-Wformat=] user.cpp:31:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (unsigned long long i = 1; i < N; ++i) next[i] = i, ^ user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curcubeu.out", "w", stdout); ^ user.cpp:29:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &N, &A, &B, &C); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbOK1020
20ms272kbOK10
312ms1084kbOK1030
428ms1812kbOK10
532ms2072kbOK10
6440ms18804kbOK1030
7424ms18068kbOK10
8428ms19008kbOK10
9404ms18596kbOK1020
10412ms18456kbOK10
Punctaj total100

Ceva nu functioneaza?