Borderou de evaluare (job #2014948)

Utilizator DianaPopDiana Pop DianaPop Data 24 august 2017 18:09:54
Problema Cifre Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:22:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=] scanf ( "%d %d %d %d" , &a , &b , &c , &k ); ^ user.c:22:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] user.c:22:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=] user.c:22:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘long long int *’ [-Wformat=] user.c:19:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen( "cifre.in" , "r" , stdin ); ^ user.c:20:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen( "cifre.out" , "w" , stdout); ^ user.c:22:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d %d %d %d" , &a , &b , &c , &k ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOk!10
20ms280kbOk!10
30ms280kbOk!10
40ms280kbOk!10
50ms280kbOk!10
60ms276kbOk!10
70ms276kbOk!10
80ms280kbOk!10
98ms276kbOk!10
108ms280kbOk!10
Punctaj total100

Ceva nu functioneaza?