Borderou de evaluare (job #1866040)

Utilizator Silviu.Stancioiu@gmail.comSilviu Stancioiu [email protected] Data 2 februarie 2017 15:30:14
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp:38:33: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] char crtLine[MAX_LENGTH] = {NULL}; ^ user.cpp: In function ‘void Read()’: user.cpp:147:29: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(fin, "%c", &c); ^ user.cpp:156:37: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(fin, "%c", &c); ^ user.cpp:143:12: warning: unused variable ‘pos’ [-Wunused-variable] fpos_t pos; ^ user.cpp:144:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d %d %d", &n, &a, &r, &k); ^ user.cpp:147:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%c", &c); ^ user.cpp:156:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%c", &c); ^ user.cpp:166:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", &crtLine[0]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1568kbOK10
24ms1564kbPartial incorect5
312ms1608kbPartial incorect5
420ms1648kbPartial incorect5
5108ms2016kbPartial incorect5
6196ms2404kbPartial incorect5
7328ms3032kbPartial incorect5
8Depăşit3860kbTime limit exceeded.0
9Depăşit1844kbTime limit exceeded.0
10Depăşit3852kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?