Borderou de evaluare (job #1479460)

Utilizator theprdvtheprdv theprdv Data 31 august 2015 14:02:46
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void inc(Trie*, char*, bool)’: user.cpp:36:26: warning: the address of ‘void inc(Trie*, char*, bool)’ will always evaluate as ‘true’ [-Waddress] if (inc && !node->son[CH]) node->son[CH] = new Trie; ^ user.cpp: In function ‘int main()’: user.cpp:56:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &NA); ^ user.cpp:60:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(line, 305, stdin); ^ user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &NB); ^ user.cpp:67:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(line, 305, stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbOK10
20ms784kbOK10
34ms2708kbOK10
428ms15796kbOK10
5144ms75736kbIncorect0
6184ms94648kbIncorect0
7Depăşit120900kbTime limit exceeded.0
8Depăşit122352kbTime limit exceeded.0
9Depăşit113772kbTime limit exceeded.0
10Depăşit119976kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?