Borderou de evaluare (job #1467541)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 3 august 2015 16:07:46
Problema Blas Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:88: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(q&1) printf("%d\n",(6LL*m[0][0]+12LL*m[1][0]+27LL*m[2][0]+1LL*m[3][0])%10067); ^ user.cpp:48:84: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%d\n",(3LL*m[0][0]+8LL*m[1][0]+18LL*m[2][0]+1LL*m[3][0])%10067); ^ user.cpp:35:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("blas.in","r",stdin); ^ user.cpp:36:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("blas.out","w",stdout); ^ user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&q);--q; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK100
Punctaj total100

Ceva nu functioneaza?