Borderou de evaluare (job #1729415)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 14 iulie 2016 17:48:56
Problema Expozitie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %d\n", &n, &d, &k); ^ user.cpp:14:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:14:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:41:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", D[d][n]); ^ user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expozitie.in", "r", stdin); ^ user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expozitie.out", "w", stdout); ^ user.cpp:14:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &d, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms780kbIncorect0
20ms524kbIncorect0
30ms472kbOK10
40ms664kbIncorect0
50ms464kbOK10
60ms688kbIncorect0
70ms428kbOK10
80ms524kbIncorect0
90ms424kbOK10
100ms440kbOK10
Punctaj total50

Ceva nu functioneaza?