Borderou de evaluare (job #1866493)

Utilizator Silviu.Stancioiu@gmail.comSilviu Stancioiu [email protected] Data 3 februarie 2017 10:42:26
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

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:148:29: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(fin, "%c", &c); ^ user.cpp:157:37: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(fin, "%c", &c); ^ user.cpp:163:44: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=] if(fscanf(fin, "%c", &c) == EOF) ^ user.cpp:144:12: warning: unused variable ‘pos’ [-Wunused-variable] fpos_t pos; ^ user.cpp:145: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:148: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:157: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:175:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", crtLine); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1880kbOK10
28ms1884kbOK10
316ms1928kbOK10
424ms1964kbOK10
5108ms2336kbOK10
6200ms2708kbOK10
7336ms3340kbOK10
8Depăşit3956kbTime limit exceeded.0
9Depăşit1844kbTime limit exceeded.0
10Depăşit3912kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?