Borderou de evaluare (job #1733701)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 25 iulie 2016 14:14:03
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&m,&k); ^ user.cpp:40:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:40:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:42:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&c[i]); ^ user.cpp:45:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&x,&y,&d); ^ user.cpp:45:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:45:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:67:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",cet[i]); ^ user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("catun.in","r",stdin); ^ user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("catun.out","w",stdout); ^ user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&k); ^ user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&c[i]); ^ user.cpp:45:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1452kbIncorect0
24ms1580kbIncorect0
316ms2108kbIncorect0
40ms1436kbIncorect0
540ms2800kbIncorect0
668ms3928kbIncorect0
78ms1680kbIncorect0
8Depăşit1996kbTime limit exceeded.0
972ms3320kbIncorect0
10148ms5396kbIncorect0
Punctaj total0

Ceva nu functioneaza?