Borderou de evaluare (job #1869675)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 6 februarie 2017 01:48:38
Problema Poligoane Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(IN,"%d",&T); ^ user.cpp:25:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=T;i++) ^ user.cpp:27:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(IN,"%d%d",&N,&MOD); ^ user.cpp:27:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:28:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(OUT,"%d\n",DP[N][N]%MOD); ^ user.cpp:19:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d",&T); ^ user.cpp:27:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d",&N,&MOD); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
148msDepăşitMemory limit exceeded.0
248msDepăşitMemory limit exceeded.0
348msDepăşitMemory limit exceeded.0
448msDepăşitMemory limit exceeded.0
548msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?