Borderou de evaluare (job #1531677)

Utilizator lianaliana tucar liana Data 21 noiembrie 2015 14:15:10
Problema Por Costel și Jocul Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&v[i],&p[i]); ^ user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("porcjoc.in","r",stdin); ^ user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("porcjoc.out","w",stdout); ^ user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:23:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&v[i],&p[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK10
24ms460kbOK10
3328ms476kbOK10
4Depăşit568kbTime limit exceeded.0
5Depăşit1192kbTime limit exceeded.0
6Depăşit1964kbTime limit exceeded.0
7Depăşit1968kbTime limit exceeded.0
8Depăşit1964kbTime limit exceeded.0
9Depăşit1968kbTime limit exceeded.0
10Depăşit1968kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?