Borderou de evaluare (job #1679872)

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

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:155: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:158:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/ccle0Bbj.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
10ms404kbOK10
224ms14856kbOK10
30ms1776kbOK10
424ms14984kbOK10
50ms1776kbOK10
6140ms19912kbOK10
772ms2300kbOK10
8116ms10128kbOK10
9172ms19912kbOK10
10172ms19912kbOK10
Punctaj total100

Ceva nu functioneaza?