Borderou de evaluare (job #1632982)

Utilizator octavian.sndOctavian Sandu octavian.snd Data 6 martie 2016 11:19:28
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read_data()’: user.cpp:75:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d\n", &n, &m); ^ user.cpp:75:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:78:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d ", &b[i]); ^ user.cpp:80:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d ", &c[i]); ^ user.cpp: In function ‘void run()’: user.cpp:118:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d \n",sum[n-1][n-1]); ^ user.cpp: In function ‘void read_data()’: user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:78:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &b[i]); ^ user.cpp:80:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &c[i]); ^ user.cpp: In function ‘int main()’: user.cpp:123:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.in","r",stdin); ^ user.cpp:124:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit53828kbTime limit exceeded.00
2Depăşit53828kbTime limit exceeded.0
3Depăşit53828kbTime limit exceeded.0
4Depăşit53824kbTime limit exceeded.0
5Depăşit53828kbTime limit exceeded.0
6Depăşit53828kbTime limit exceeded.0
7Depăşit53828kbTime limit exceeded.0
8Depăşit53828kbTime limit exceeded.0
9Depăşit53828kbTime limit exceeded.0
10Depăşit53824kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?