Borderou de evaluare (job #2240837)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:76:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", a);printf("/");printf("%d",bb); ^ user.cpp:76:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", a);printf("/");printf("%d",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:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:27:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &b[i].val, &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1140ms16280kbOK10
2116ms16284kbIncorect0
3132ms16284kbIncorect0
4312ms16356kbIncorect0
5Depăşit16664kbTime limit exceeded.0
6Depăşit17056kbTime limit exceeded.0
7Depăşit17052kbTime limit exceeded.0
8Depăşit17056kbTime limit exceeded.0
9Depăşit17056kbTime limit exceeded.0
10Depăşit17060kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?