Borderou de evaluare (job #1503330)

Utilizator theprdvtheprdv theprdv Data 15 octombrie 2015 22:07:54
Problema Curcubeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17: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:17:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int (*)[1000002]’ [-Wformat=] user.cpp:17:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘int (*)[1000002]’ [-Wformat=] user.cpp:19: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:15: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:17: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
10ms292kbOK1020
20ms296kbOK10
316ms1104kbOK1030
444ms1828kbOK10
548ms2088kbOK10
6Depăşit18824kbTime limit exceeded.00
7Depăşit18092kbTime limit exceeded.0
8Depăşit19028kbTime limit exceeded.0
9Depăşit18620kbTime limit exceeded.00
10Depăşit18484kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?