Borderou de evaluare (job #1632557)

Utilizator StemakoUPT Marinescu Kolumban Stefan Stemako Data 6 martie 2016 10:29:17
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘read_data’: user.c:76:2: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f,"%ld%ld",&n,&m); ^ user.c:76:2: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 4 has type ‘long long int *’ [-Wformat=] user.c:78:9: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘int *’ [-Wformat=] fscanf(f,"%ld",&x[i]); ^ user.c:80:9: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘int *’ [-Wformat=] fscanf(f,"%ld",&y[j]); ^ user.c: At top level: user.c:120:6: warning: return type of ‘main’ is not ‘int’ [-Wmain] void main() ^ user.c: In function ‘read_data’: user.c:76:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld%ld",&n,&m); ^ user.c:78:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&x[i]); ^ user.c:80:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&y[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1100msDepăşitMemory limit exceeded.00
2100msDepăşitMemory limit exceeded.0
3100msDepăşitMemory limit exceeded.0
4100msDepăşitMemory limit exceeded.0
5100msDepăşitMemory limit exceeded.0
6100msDepăşitMemory limit exceeded.0
7100msDepăşitMemory limit exceeded.0
8100msDepăşitMemory limit exceeded.0
9100msDepăşitMemory limit exceeded.0
10100msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?