Borderou de evaluare (job #1517736)

Utilizator FullP0werMihalache Andrei FullP0wer Data 4 noiembrie 2015 19:08:08
Problema Street Crypto Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] if(n==1) scanf("%I64d",&l[1]), printf("%I64d\n",l[1]); ^ user.cpp:18:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(n==1) scanf("%I64d",&l[1]), printf("%I64d\n",l[1]); ^ user.cpp:22:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d",&l[1]); ^ user.cpp:24:73: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d %I64d\n",std::min(l[1]/i,i),std::max(l[1]/i,i)); ^ user.cpp:24:73: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d",&l[i]); ^ user.cpp:46:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] for(i=1;i<=n;printf("%I64d ",b[i]),i++); ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("streetcrypto.in","r",stdin); ^ user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("streetcrypto.out","w",stdout); ^ user.cpp:14:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:18:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if(n==1) scanf("%I64d",&l[1]), printf("%I64d\n",l[1]); ^ user.cpp:22:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&l[1]); ^ user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&l[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit284kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?