Borderou de evaluare (job #1913931)

Utilizator MelacasKorian Ebraahim Melacas Data 8 martie 2017 14:46:25
Problema Carry Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if (k1==1) printf("%d",sol[1][0][1]); ^ user.cpp:70:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%d",sol[1][0][0]); ^ user.cpp:74:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",(sol[n][k1][0]+sol[n][k1-1][1])%MOD); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carry.in","r",stdin); ^ user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carry.out","w",stdout); ^ user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&k1); ^ user.cpp:15:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccfjtAql.o: In function `main': user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbIncorect0
20ms316kbOK5
30ms332kbOK5
40ms520kbOK5
50ms1508kbOK5
612ms2712kbOK5
720ms5160kbOK5
880ms19784kbOK5
9108ms22244kbOK5
1028ms24664kbOK5
11160ms57472kbOK5
12Depăşit73416kbTime limit exceeded.0
13Depăşit73444kbTime limit exceeded.0
14312msDepăşitMemory limit exceeded.0
15Depăşit118028kbTime limit exceeded.0
16312msDepăşitMemory limit exceeded.0
17160msDepăşitMemory limit exceeded.0
18312msDepăşitMemory limit exceeded.0
19Depăşit74500kbTime limit exceeded.0
200ms288kbOK5
Punctaj total55

Ceva nu functioneaza?