Borderou de evaluare (job #1725518)

Utilizator alittlezzCazaciuc Valentin alittlezz Data 5 iulie 2016 20:06:24
Problema Carnati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&n,&C); ^ user.cpp:12:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:14:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&p[i].first, &p[i].second); ^ user.cpp:14:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:32:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",bst); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carnati.in", "r", stdin); ^ user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carnati.out", "w", stdout); ^ user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&C); ^ user.cpp:14:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&p[i].first, &p[i].second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbIncorect0
20ms300kbIncorect0
30ms296kbIncorect0
44ms304kbIncorect0
524ms304kbIncorect0
624ms300kbIncorect0
724ms296kbIncorect0
8Depăşit304kbTime limit exceeded.0
9Depăşit300kbTime limit exceeded.0
10Depăşit296kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?