Borderou de evaluare (job #1466259)

Utilizator iulianrotaruRotaru Gheorghe-Iulian iulianrotaru Data 28 iulie 2015 20:23:27
Problema Custi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",v[n][n]); ^ user.cpp:24:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] for(i=2;i<=n;++i) printf("%ld\n",r[i]); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("custi.in","r",stdin); ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("custi.out","w",stdout); ^ user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:13:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(j=1;j<=n;++j) {scanf("%c ",&t); v[i][j]=(t-'0')+v[i][j-1]+v[i-1][j]-v[i-1][j-1];} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1160ms2248kbOK10
20ms396kbOK10
30ms512kbOK10
40ms672kbOK10
5132ms4192kbOK10
684ms3316kbOK10
7Depăşit4160kbTime limit exceeded.0
8Depăşit4164kbTime limit exceeded.0
9Depăşit4104kbTime limit exceeded.0
10Depăşit4160kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?