Borderou de evaluare (job #2240866)

Utilizator Laura_CorneiLaura Maria Cornei Laura_Cornei Data 14 septembrie 2018 11:50:53
Problema Por Costel și Jocul Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d%I64d", &b[i].val, &b[i].prob); ^ user.cpp:26:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:65:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d", a);printf("/");printf("%I64d",bb); ^ user.cpp:65:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d", a);printf("/");printf("%I64d",bb); ^ user.cpp:21:38: 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:22:40: 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:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:26:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d%I64d", &b[i].val, &b[i].prob); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1116ms16732kbIncorect0
2116ms16732kbIncorect0
3136ms16748kbIncorect0
4328ms16892kbIncorect0
5Depăşit17508kbTime limit exceeded.0
6Depăşit17832kbTime limit exceeded.0
7Depăşit17840kbTime limit exceeded.0
8Depăşit17832kbTime limit exceeded.0
9Depăşit17836kbTime limit exceeded.0
10Depăşit17832kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?