Borderou de evaluare (job #1676801)

Utilizator serbanSlincu Serban serban Data 6 aprilie 2016 10:20:21
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘bool del(node*&, int)’: user.cpp:41:36: warning: NULL used in arithmetic [-Wpointer-arith] ok = ok & (p->c.test(j) == NULL); ^ user.cpp: In function ‘int main()’: user.cpp:67:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:78:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[305]’ [-Wformat=] fscanf(f, "%s\n", &s); ^ user.cpp:64:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &x); int n = x; ^ user.cpp:67:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &s); ^ user.cpp:76:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &n); ^ user.cpp:78:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms504kbOK10
20ms1016kbOK10
34ms3172kbOK10
440ms17908kbOK10
5Depăşit85336kbTime limit exceeded.0
6Depăşit106576kbTime limit exceeded.0
7220msDepăşitMemory limit exceeded.0
8220msDepăşitMemory limit exceeded.0
9Depăşit132248kbTime limit exceeded.0
10220msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?