Borderou de evaluare (job #1679860)

Utilizator SmarandaMaria Pandele Smaranda Data 8 aprilie 2016 12:07:38
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void makeNumber(char*, int*)’: user.cpp:40:20: warning: unused variable ‘aux’ [-Wunused-variable] int i, st, dr, aux, nr = 0, num = 0, j; ^ user.cpp:40:33: warning: unused variable ‘num’ [-Wunused-variable] int i, st, dr, aux, nr = 0, num = 0, j; ^ user.cpp: In function ‘int main()’: user.cpp:156:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s [1] = NULL; ^ user.cpp:148:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("dragonball.in", "r", stdin); ^ user.cpp:149:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("dragonball.out", "w", stdout); ^ user.cpp:151:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%c", &n, &t, &blank); ^ user.cpp:152:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ user.cpp:159:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/ccRWsZ85.o: In function `main': user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms676kbOK10
2100ms47488kbOK10
320ms5116kbIncorect0
4104ms47608kbIncorect0
516ms5116kbIncorect0
6244ms60528kbIncorect0
7140ms6444kbIncorect0
8212ms30476kbIncorect0
9Depăşit60524kbTime limit exceeded.0
10Depăşit60528kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?