Borderou de evaluare (job #1281173)

Utilizator OctaDuiu Octavian Octa Data 2 decembrie 2014 21:41:26
Problema Cifre4 Status done
Runda tema_grf Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if((x*10+2)%P==n) { printf("%d\n",x*10+2); okay=true; } ^ user.cpp:30:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if((x*10+k)%P==n) { printf("%d\n",x*10+k); okay=true; break; } ^ user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifre4.in","r",stdin); freopen("cifre4.out","w",stdout); ^ user.cpp:12:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifre4.in","r",stdin); freopen("cifre4.out","w",stdout); ^ user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&t); ^ user.cpp:18:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld",&n,&P); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12892ms17380kbIncorect0
Punctaj total0

Ceva nu functioneaza?