Borderou de evaluare (job #1290347)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 11 decembrie 2014 09:48:11
Problema Doipe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:13:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:31:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",(S[1-pos][n])%mod); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("doipe.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("doipe.out","w",stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOK5
20ms460kbOK5
30ms472kbOK5
40ms504kbOK5
50ms500kbOK5
60ms812kbIncorect0
70ms508kbOK5
80ms508kbOK5
90ms512kbOK5
100ms576kbIncorect0
110ms720kbIncorect0
120ms884kbIncorect0
130ms1196kbIncorect0
144ms1392kbIncorect0
1512msDepăşitMemory limit exceeded.0
1624msDepăşitMemory limit exceeded.0
1728msDepăşitMemory limit exceeded.0
1832msDepăşitMemory limit exceeded.0
1944msDepăşitMemory limit exceeded.0
2044msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?