Borderou de evaluare (job #1679831)

Utilizator SmarandaMaria Pandele Smaranda Data 8 aprilie 2016 11:41:44
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

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:154:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s [1] = NULL; ^ user.cpp:146: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:147: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:149: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:150:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ user.cpp:157:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/ccWZtjoO.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
10ms668kbOK10
284ms47484kbOK10
320ms5108kbIncorect0
488ms47652kbOK10
512ms5108kbIncorect0
6280ms67036kbOK10
7164ms7092kbIncorect0
8248ms33740kbIncorect0
9Depăşit67004kbTime limit exceeded.0
10Depăşit67000kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?