Borderou de evaluare (job #1866023)

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

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[1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1568kbPartial incorect5
20ms1568kbIncorect0
3Depăşit1508kbTime limit exceeded.0
4Depăşit1548kbTime limit exceeded.0
5Depăşit1908kbTime limit exceeded.0
6Depăşit2272kbTime limit exceeded.0
7Depăşit2884kbTime limit exceeded.0
8132ms5236kbPartial incorect5
9Depăşit1940kbTime limit exceeded.0
10136ms5264kbPartial incorect5
Punctaj total15

Ceva nu functioneaza?