Borderou de evaluare (job #1275490)

Utilizator mvcl3Marian Iacob mvcl3 Data 25 noiembrie 2014 11:54:00
Problema Coco Chanel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void Read_Data()’: user.cpp:22:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] for(int i = 1; i <= N; ++i) fscanf(in, "%d", &C[i]); ^ user.cpp:24:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] for(int i = 1; i <= M; ++i) fscanf(in, "%d", &G[i]); ^ user.cpp:20:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &N, &M); ^ user.cpp:22:56: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= N; ++i) fscanf(in, "%d", &C[i]); ^ user.cpp:24:56: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= M; ++i) fscanf(in, "%d", &G[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms256kbOK10
30ms272kbOK10
40ms272kbOK10
5Depăşit1812kbTime limit exceeded.0
6Depăşit1816kbTime limit exceeded.0
7Depăşit1808kbTime limit exceeded.0
8Depăşit1812kbTime limit exceeded.0
9Depăşit1812kbTime limit exceeded.0
10Depăşit1812kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?