Borderou de evaluare (job #1279240)

Utilizator radarobertRada Robert Gabriel radarobert Data 29 noiembrie 2014 22:56:28
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(in, "%d", &recharge[i]); ^ user.cpp:89:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[x.node].size(); ++i) ^ user.cpp:53:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &n, &k); ^ user.cpp:55:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &recharge[i]); ^ user.cpp:58:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &m); ^ user.cpp:61:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d%d%d", &x, &y, &t, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms336kbOK10
20ms332kbOK10
3Depăşit16644kbTime limit exceeded.0
4Depăşit8520kbTime limit exceeded.0
5Depăşit8528kbTime limit exceeded.0
6Depăşit16640kbTime limit exceeded.0
7Depăşit8516kbTime limit exceeded.0
8Depăşit2240kbTime limit exceeded.0
90ms292kbOK10
10Depăşit16636kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?