Borderou de evaluare (job #1630277)

Utilizator iulianrotaruRotaru Gheorghe-Iulian iulianrotaru Data 5 martie 2016 00:25:53
Problema Secvente3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:38: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] scanf("%d %d %d %lld",&a,&b,&P,&M); ^ user.cpp:32:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&st,&S); ^ user.cpp:74:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] for(i=1;i<=M;++i) printf("%ld ",Sol[i]); ^ user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvente3.in","r",stdin); ^ user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvente3.out","w",stdout); ^ user.cpp:29:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %lld",&a,&b,&P,&M); ^ user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&st,&S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbKilled by signal 8(SIGFPE).0
20ms272kbKilled by signal 8(SIGFPE).0
30ms272kbKilled by signal 8(SIGFPE).0
40ms272kbKilled by signal 8(SIGFPE).0
54ms348kbKilled by signal 8(SIGFPE).0
64ms380kbKilled by signal 8(SIGFPE).0
78ms424kbKilled by signal 8(SIGFPE).0
88ms424kbKilled by signal 8(SIGFPE).0
98ms424kbKilled by signal 8(SIGFPE).0
108ms428kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?