Borderou de evaluare (job #1503353)

Utilizator theprdvtheprdv theprdv Data 15 octombrie 2015 23:00:31
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
10ms268kbOK1020
20ms276kbOK10
38ms1080kbOK1030
420ms1812kbOK10
532ms2064kbOK10
6428ms18800kbOK1030
7424ms18064kbOK10
8436ms19012kbOK10
9408ms18600kbOK1020
10412ms18456kbOK10
Punctaj total100

Ceva nu functioneaza?