Borderou de evaluare (job #1530911)

Utilizator Crismaru_VladFII Crismaru Vlad Marian Crismaru_Vlad Data 21 noiembrie 2015 13:01:51
Problema Buget Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &N); ^ user.cpp:29:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &P[i]); ^ user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("buget.in", "r", stdin); ^ user.cpp:26:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:29:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &P[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms476kbOK10
20ms480kbOK10
30ms484kbOK10
40ms480kbOK10
50ms508kbOK10
60ms516kbOK10
720ms788kbOK10
816ms788kbOK10
944ms1176kbOK10
1044ms1176kbOK10
Punctaj total100

Ceva nu functioneaza?