Borderou de evaluare (job #2029988)

Utilizator victoreVictor Popa victore Data 30 septembrie 2017 19:16:39
Problema Iepuri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d%I64d%I64d",&n,&m,&k); ^ user.cpp:12:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:12:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:15:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d",&sp[i]),sp[i] += sp[i-1]; ^ user.cpp:21:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d",dp[k][n]); ^ user.cpp:12:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d%I64d%I64d",&n,&m,&k); ^ user.cpp:15:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&sp[i]),sp[i] += sp[i-1]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbFisier de iesire lipsa0
20ms232kbFisier de iesire lipsa0
30ms232kbFisier de iesire lipsa0
40ms232kbFisier de iesire lipsa0
50ms232kbFisier de iesire lipsa0
60ms232kbFisier de iesire lipsa0
70ms232kbFisier de iesire lipsa0
80ms232kbFisier de iesire lipsa0
90ms232kbFisier de iesire lipsa0
100ms228kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?