Borderou de evaluare (job #1568980)

Utilizator radudurlesteanuDurlesteanu Radu Stefan radudurlesteanu Data 14 ianuarie 2016 21:28:50
Problema Cifre4 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d",&n,&k); ^ user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:49:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] if (ok) printf("%d\n",x); ^ user.cpp:8:31: 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); ^ user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifre4.out","w",stdout); ^ user.cpp:10:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1344ms44192kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?